diff options
| author | Alp Toker <alp@nuanti.com> | 2013-12-15 10:36:26 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2013-12-15 10:36:26 +0000 |
| commit | 7cec627f328707d7a9bc78b5acb56eb712ffbc12 (patch) | |
| tree | bb7b3e4f03b9eadfbcd9d417bf301b5f72984728 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | e3c64cd067f9a5eea8727759abdfa6ff113799db (diff) | |
| download | clang-7cec627f328707d7a9bc78b5acb56eb712ffbc12.tar.gz clang-7cec627f328707d7a9bc78b5acb56eb712ffbc12.tar.bz2 clang-7cec627f328707d7a9bc78b5acb56eb712ffbc12.tar.xz | |
ASTContext: Declare builtin types implicitly
__builtin_va_list and friends have been showing up where they shouldn't for way
to long, making unwanted appearences in -ast-print, tooling and source level
visitors and even the hello world tutorial on the clang website.
This commit factors down the implicit typedef and record creation facilities to
ensure they're marked implicit.
Also fixes a unit test that was testing incorrect behaviour, and removes old
hacks in the DeclPrinter that tried to skip implicit declarations manually.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197336 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
