llvm-project/clang/lib/AST
Alp Toker 56b5cc91af 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.

llvm-svn: 197336
2013-12-15 10:36:26 +00:00
..
APValue.cpp Pacify compilers that think you can drop off a fully covered switch. 2013-06-03 21:26:13 +00:00
ASTConsumer.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
ASTContext.cpp ASTContext: Declare builtin types implicitly 2013-12-15 10:36:26 +00:00
ASTDiagnostic.cpp Add an AdjustedType sugar node for adjusting calling conventions 2013-12-05 01:23:43 +00:00
ASTDumper.cpp [-fms-extensions] Add support for __FUNCDNAME__ 2013-11-06 23:31:56 +00:00
ASTImporter.cpp Implement DR1460: fix handling of default initializers in unions; don't allow 2013-12-10 08:25:00 +00:00
ASTTypeTraits.cpp Add Distance parameter to ASTNodeKind::isBaseOf. 2013-11-23 01:40:07 +00:00
AttrImpl.cpp Tablegen now generates a StringSwitch for attributes containing enumeration arguments to map strings to the proper enumeration value. This makes error checking more consistent and reduces the amount of hand-written code required. 2013-09-11 19:47:58 +00:00
CMakeLists.txt Remove -ast-dump-xml. 2013-10-07 20:56:34 +00:00
CXXABI.h [ms-cxxabi] Implement guard variables for static initialization 2013-09-10 20:14:30 +00:00
CXXInheritance.cpp Use pop_back_val() instead of both back() and pop_back(). 2013-08-23 16:11:15 +00:00
Comment.cpp Add an AdjustedType sugar node for adjusting calling conventions 2013-12-05 01:23:43 +00:00
CommentBriefParser.cpp Some refactoring in my patch on document 2013-03-02 02:39:57 +00:00
CommentCommandTraits.cpp Use llvm::array_lengthof to replace sizeof(array)/sizeof(array[0]). 2013-07-15 03:38:40 +00:00
CommentLexer.cpp CommentLexer: eliminate an NDEBUG from the headers 2013-12-07 13:51:26 +00:00
CommentParser.cpp Comment parsing: fix a bug where a line with whitespace between two paragraphs 2013-08-23 18:03:40 +00:00
CommentSema.cpp Avoid double StringMap lookups. No functionality change. 2013-11-10 16:55:11 +00:00
Decl.cpp Fix pr18174. 2013-12-08 01:13:22 +00:00
DeclBase.cpp Eliminate the last trivial NDEBUG uses in clang headers 2013-12-07 13:51:35 +00:00
DeclCXX.cpp PR18232: implement instantiation for class-scope explicit specializations of 2013-12-14 01:04:22 +00:00
DeclFriend.cpp Add class-specific operator new to Decl hierarchy. This guarantees that Decls 2013-11-22 09:01:48 +00:00
DeclGroup.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
DeclObjC.cpp Rename attribute 'objc_suppress_protocol_methods' to 'objc_protocol_requires_explicit_implementation'. 2013-12-10 19:43:48 +00:00
DeclOpenMP.cpp Add class-specific operator new to Decl hierarchy. This guarantees that Decls 2013-11-22 09:01:48 +00:00
DeclPrinter.cpp ASTContext: Declare builtin types implicitly 2013-12-15 10:36:26 +00:00
DeclTemplate.cpp Fix a tranche of comment, test and doc typos 2013-12-05 16:25:25 +00:00
DeclarationName.cpp Provide operator<< for stream output of DeclarationNames 2013-05-14 21:04:00 +00:00
Expr.cpp Eliminate BinaryTypeTraitExpr 2013-12-13 20:49:58 +00:00
ExprCXX.cpp ms-compat: Fix taking the address of a member of a dependent base 2013-10-15 18:38:02 +00:00
ExprClassification.cpp Eliminate BinaryTypeTraitExpr 2013-12-13 20:49:58 +00:00
ExprConstant.cpp Eliminate BinaryTypeTraitExpr 2013-12-13 20:49:58 +00:00
ExternalASTSource.cpp Simplify FindExternalVisibleDeclsByName by making it return a bool indicating 2013-02-07 03:30:24 +00:00
InheritViz.cpp Use llvm::sys::fs::createTemporaryFile. 2013-07-05 20:00:06 +00:00
ItaniumCXXABI.cpp Switch to the new MingW ABI. 2013-12-12 16:07:11 +00:00
ItaniumMangle.cpp Eliminate BinaryTypeTraitExpr 2013-12-13 20:49:58 +00:00
Makefile
Mangle.cpp On 32 bit windows, mangle stdcall and fastcall decls in clang. 2013-10-16 01:40:34 +00:00
MangleNumberingContext.cpp [ms-cxxabi] Implement guard variables for static initialization 2013-09-10 20:14:30 +00:00
MicrosoftCXXABI.cpp [ms-cxxabi] Implement guard variables for static initialization 2013-09-10 20:14:30 +00:00
MicrosoftMangle.cpp [-cxx-abi microsoft] Remove trailing spaces from the mangler 2013-12-13 01:06:04 +00:00
NSAPI.cpp Use None rather than Optional<T>() where possible. 2013-02-21 01:47:18 +00:00
NestedNameSpecifier.cpp Use pop_back_val() instead of both back() and pop_back(). 2013-08-23 16:11:15 +00:00
ParentMap.cpp [analyzer; new edges] Simplify edges in a C++11 for-range loop. 2013-06-06 21:53:45 +00:00
RawCommentList.cpp Refactor comment merging. 2013-09-28 15:06:27 +00:00
RecordLayout.cpp [MS-ABI] Fix alias-avoidance padding between bases 2013-12-06 19:54:25 +00:00
RecordLayoutBuilder.cpp [ms-abi] Refactoring Non-virtual base layout in record layout 2013-12-12 22:33:37 +00:00
SelectorLocationsKind.cpp Fix crash when using archaic protocol, rdar://10238337 2011-10-05 21:28:06 +00:00
Stmt.cpp [OpenMP] Added parsing and semantic analysis for firstprivate clause 2013-10-01 05:32:34 +00:00
StmtIterator.cpp Simplify StmtIterator. 2013-06-27 20:39:04 +00:00
StmtPrinter.cpp Remove an unused parameter and include after r197273 2013-12-13 21:19:30 +00:00
StmtProfile.cpp Eliminate BinaryTypeTraitExpr 2013-12-13 20:49:58 +00:00
StmtViz.cpp
TemplateBase.cpp Reduce sizeof(TemplateArgument) from 32 to 24. 2013-08-21 23:05:56 +00:00
TemplateName.cpp Add quotation marks to template names in diagnostics. 2013-03-05 06:21:38 +00:00
Type.cpp Add an AdjustedType sugar node for adjusting calling conventions 2013-12-05 01:23:43 +00:00
TypeLoc.cpp AST: Don't treat a TemplateExpansion as a Template 2013-08-28 00:00:27 +00:00
TypePrinter.cpp Add an AdjustedType sugar node for adjusting calling conventions 2013-12-05 01:23:43 +00:00
VTTBuilder.cpp Remove get(V)BaseClassOffsetInBits, the CharUnit functions should be used instead. 2012-07-04 18:45:14 +00:00
VTableBuilder.cpp Make -fdump-vtable-layouts print to stdout, not stderr 2013-11-08 21:28:00 +00:00