OSDN Git Service

Clean up some code in Program.
authorZachary Turner <zturner@google.com>
Fri, 8 Jun 2018 15:16:25 +0000 (15:16 +0000)
committerZachary Turner <zturner@google.com>
Fri, 8 Jun 2018 15:16:25 +0000 (15:16 +0000)
commit370ce5a7b002185223f58945f9f5c404b4f7bd7d
treef87735dad2d3cfdc6c398626a2d5c1191feb476a
parentbc083d568e6a336efc31c88b8cdddf3a4ebc1ce7
Clean up some code in Program.

NFC here, this just raises some platform specific ifdef hackery
out of a class and creates proper platform-independent typedefs
for the relevant things.  This allows these typedefs to be
reused in other places without having to reinvent this preprocessor
logic.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334294 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Program.h
lib/Support/Unix/Program.inc
lib/Support/Windows/Program.inc
tools/llvm-xray/xray-account.h
tools/llvm-xray/xray-graph.h