diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-10-22 00:03:57 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-10-22 00:03:57 +0000 |
commit | 139ba86a362593da2e350f881e5c7003917aa5a7 (patch) | |
tree | b2dc3ced1f3bdd3c51c0fbbd40cf9af95bf6a1b2 /lib/Frontend/PCHWriter.cpp | |
parent | f51dc64f90851f636302dbaaf3f52c0524cdac36 (diff) |
Enhance 'clang_createTranslationUnitFromSourceFile()' in two ways:
(1) Allow the source file to be specified in the actual command line arguments by allowing the
caller to set 'source_filename' to NULL.
(2) Automatically strip off the arguments '-emit-ast', '-fsyntax-only', and '-c'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84802 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PCHWriter.cpp')
0 files changed, 0 insertions, 0 deletions