commit | 139ba86a362593da2e350f881e5c7003917aa5a7 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Thu Oct 22 00:03:57 2009 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Thu Oct 22 00:03:57 2009 +0000 |
tree | b2dc3ced1f3bdd3c51c0fbbd40cf9af95bf6a1b2 | |
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