hanchenye-llvm-project/clang/lib/AST
Dmitri Gribenko 761447cd98 On Darwin, the linker removes functions in CommentDumper.o (Comment::dump())
despite __attribute__(__used__).  As explained by Argyrios,
> .a archive files do some stripping of their own and they remove .o files that
> contain functions that are not referenced by any other .o file.

The fix is to use these functions from another .o file.

Thanks, Argyrios!

llvm-svn: 160437
2012-07-18 16:30:42 +00:00
..
APValue.cpp Remove the ref/value inconsistency in filter_decl_iterator. 2012-04-30 02:36:29 +00:00
ASTConsumer.cpp Change ASTConsumer::HandleTopLevelDecl to return true for the parser to continue 2011-11-18 00:26:59 +00:00
ASTContext.cpp Implement an optimization for finding the comment that occurs just after a 2012-07-17 22:01:09 +00:00
ASTDiagnostic.cpp Properly update the FormattedArgs vector when the template type diffing falls 2012-07-10 01:46:04 +00:00
ASTImporter.cpp Teach the ASTImporter how to handle anonymous structs/unions 2012-07-17 21:16:27 +00:00
AttrImpl.cpp Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:48:34 +00:00
CMakeLists.txt Enable comment parsing and semantic analysis to emit diagnostics. A few 2012-07-11 21:38:39 +00:00
CXXABI.h [Windows] Use thiscall as the default calling convention for class methods. PR12785 2012-07-12 09:50:54 +00:00
CXXInheritance.cpp Remove get(V)BaseClassOffsetInBits, the CharUnit functions should be used instead. 2012-07-04 18:45:14 +00:00
Comment.cpp On Darwin, the linker removes functions in CommentDumper.o (Comment::dump()) 2012-07-18 16:30:42 +00:00
CommentBriefParser.cpp CommentBriefParser: use StringSwitch::Cases to group synonyms. Thanks Jordan! 2012-07-17 21:21:55 +00:00
CommentDumper.cpp On Darwin, the linker removes functions in CommentDumper.o (Comment::dump()) 2012-07-18 16:30:42 +00:00
CommentLexer.cpp Comment parsing: repaint the bikesched: rename 'HTML open tags' to 'HTML start tags' and 'HTML close tags' to 'HTML end tags' according to HTML spec. 2012-07-13 00:44:24 +00:00
CommentParser.cpp Comment parsing: repaint the bikesched: rename 'HTML open tags' to 'HTML start tags' and 'HTML close tags' to 'HTML end tags' according to HTML spec. 2012-07-13 00:44:24 +00:00
CommentSema.cpp CommentSema: \short is the same as \brief. 2012-07-18 00:44:55 +00:00
Decl.cpp Move option test earlier in the function. 2012-07-13 23:26:43 +00:00
DeclBase.cpp Teach the ASTImporter how to handle anonymous structs/unions 2012-07-17 21:16:27 +00:00
DeclCXX.cpp Stop instantiating a class if we hit a static_assert failure. Also, if the 2012-07-11 22:37:56 +00:00
DeclFriend.cpp Drop the ASTContext.h include from DeclFriend.h and DeclTemplate.h. 2012-07-04 20:19:54 +00:00
DeclGroup.cpp
DeclObjC.cpp [AST/libclang] Fix the selector locations that are reported for a 2012-06-16 00:46:02 +00:00
DeclPrinter.cpp PR13064: Store whether an in-class initializer uses direct or copy 2012-06-10 03:12:00 +00:00
DeclTemplate.cpp Make explicit specializations at class scope work 2012-06-25 17:21:05 +00:00
DeclarationName.cpp Simplify some users of DeclarationName::getNameKind. Fold getFETokenInfoAsVoid into its only caller. 2012-05-19 16:03:58 +00:00
DumpXML.cpp Plug a long standing memory leak in TemplateArgument. 2012-06-07 15:09:51 +00:00
Expr.cpp Handle the case where the base type is not dependent, but the derived one is. 2012-07-17 20:24:05 +00:00
ExprCXX.cpp The delete argument should not be converted to void*. 2012-07-09 21:15:43 +00:00
ExprClassification.cpp Add a warning for when an array-to-pointer decay is performed on an array 2012-06-04 22:27:30 +00:00
ExprConstant.cpp Don't treat overflow in floating-point conversions as a hard error in constant evaluation. <rdar://problem/11874571>. 2012-07-17 21:03:05 +00:00
ExternalASTSource.cpp Implement the all_lookups_iterator for PCH as a follow-up to r153970. This 2012-04-16 02:51:46 +00:00
InheritViz.cpp
ItaniumCXXABI.cpp [Windows] Use thiscall as the default calling convention for class methods. PR12785 2012-07-12 09:50:54 +00:00
ItaniumMangle.cpp Plug a long standing memory leak in TemplateArgument. 2012-06-07 15:09:51 +00:00
LambdaMangleContext.cpp Drop the ASTContext.h include from Stmt.h and fix up transitive users. 2012-07-04 17:04:04 +00:00
Makefile
Mangle.cpp block literal irgen: several improvements on naming block 2012-06-26 16:06:38 +00:00
MicrosoftCXXABI.cpp [Windows] Use thiscall as the default calling convention for class methods. PR12785 2012-07-12 09:50:54 +00:00
MicrosoftMangle.cpp [Windows] Use thiscall as the default calling convention for class methods. PR12785 2012-07-12 09:50:54 +00:00
NSAPI.cpp [objcmt] Don't migrate to subscripting syntax if the required methods have not 2012-06-04 21:23:26 +00:00
NestedNameSpecifier.cpp [AST] NestedNameSpecifier's ctor/dtor are trivial and should be inlined. 2012-03-09 01:51:59 +00:00
ParentMap.cpp Fix crash in analyzer diagnostic generation involving subexpressions of OpaqueValueExpr not appearing in the ParentMap. Fixes <rdar://problem/10797980>. 2012-02-18 22:02:57 +00:00
RawCommentList.cpp Enable comment parsing and semantic analysis to emit diagnostics. A few 2012-07-11 21:38:39 +00:00
RecordLayout.cpp Remove get(V)BaseClassOffsetInBits, the CharUnit functions should be used instead. 2012-07-04 18:45:14 +00:00
RecordLayoutBuilder.cpp Remove get(V)BaseClassOffsetInBits, the CharUnit functions should be used instead. 2012-07-04 18:45:14 +00:00
SelectorLocationsKind.cpp Fix crash when using archaic protocol, rdar://10238337 2011-10-05 21:28:06 +00:00
Stmt.cpp Inline storage of attributes in AttributedStmt. 2012-07-09 10:04:07 +00:00
StmtDumper.cpp Drop the ASTContext.h include from Stmt.h and fix up transitive users. 2012-07-04 17:04:04 +00:00
StmtIterator.cpp
StmtPrinter.cpp Inline storage of attributes in AttributedStmt. 2012-07-09 10:04:07 +00:00
StmtProfile.cpp Etch out the code path for MS-style inline assembly. 2012-06-11 20:47:18 +00:00
StmtViz.cpp
TemplateBase.cpp Reuse APInt's getNumWords, which gets rounding right (my ad-hoc solution missed it). 2012-06-07 15:54:03 +00:00
TemplateName.cpp Print NamedDecls directly to a raw_ostream where possible. 2012-02-07 11:57:57 +00:00
Type.cpp Related to PR11848 and core-21989: switch ContainsUnexpandedParameterPack from 2012-07-16 00:20:35 +00:00
TypeLoc.cpp Drop the ASTContext.h include from Stmt.h and fix up transitive users. 2012-07-04 17:04:04 +00:00
TypePrinter.cpp Provide a special-case diagnostic when two class member functions instantiate 2012-07-13 04:12:04 +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 Remove get(V)BaseClassOffsetInBits, the CharUnit functions should be used instead. 2012-07-04 18:45:14 +00:00