summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-12-02 03:23:45 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-12-02 03:23:45 +0000
commit55a17b66cd66c86f2005eb065c78ebbae1f8fe27 (patch)
tree54de41988f90a3b023d5ebadb61a1aad3872c6fa /clang/lib/CodeGen/CodeGenFunction.cpp
parent120c77e4e986725cdd76cd58943714294aa1a54b (diff)
downloadbcm5719-llvm-55a17b66cd66c86f2005eb065c78ebbae1f8fe27.tar.gz
bcm5719-llvm-55a17b66cd66c86f2005eb065c78ebbae1f8fe27.zip
Add ASTUnit::LoadFromCommandLine, which creates an ASTUnit out of a list of
(clang/driver) command line arguments (including the source file). - The arguments are expected to include the source file. - The idea is that even though this is a somewhat odd API, its the form which many tools can most easily use (for example, by interposing with the compiler). Also, switch index-test's -ast-from-source to use this entry point, and provide a -arg command line argument which can be used to test that the command line arguments are handled correctly. llvm-svn: 90288
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud