llvm-project/clang/lib/AST
John McCall 5fe84129e2 A couple of tweaks to the visibility rules:
- tags with C linkage should ignore visibility=hidden
  - functions and variables with explicit visibility attributes should
    ignore the linkage of their types
Either of these should be sufficient to fix PR8457.

Also, FileCheck-ize a test case.

llvm-svn: 117351
2010-10-26 04:59:26 +00:00
..
APValue.cpp Fix -Wcast-qual warnings. 2010-04-19 16:39:44 +00:00
ASTConsumer.cpp Reintroduce the ASTConsumer/ASTUnit fix from r110610, it has nothing to do with the breakage. 2010-08-11 18:52:41 +00:00
ASTContext.cpp When de-serializing a type that is supposed to be canonical, call 2010-10-26 00:51:02 +00:00
ASTDiagnostic.cpp revise r112365 to fix the actual problem: the isa<TagType>(Underlying) 2010-09-04 23:16:01 +00:00
ASTImporter.cpp Pass TInfo to CXXDestructorDecl::Create(), just like we do for other 2010-10-21 00:44:50 +00:00
AttrImpl.cpp Generate Attr subclasses with TableGen. 2010-08-18 23:23:40 +00:00
CMakeLists.txt Revert "CMake: Update to use standard CMake dependency tracking facilities instead" 2010-09-13 23:54:41 +00:00
CXXABI.h The ARM C++ ABI is sufficiently different from the Itanium C++ ABI that 2010-08-21 22:46:04 +00:00
CXXInheritance.cpp Add a short circuit in isVirtuallyDerivedFrom. 2010-06-04 01:40:08 +00:00
Decl.cpp A couple of tweaks to the visibility rules: 2010-10-26 04:59:26 +00:00
DeclBase.cpp A couple of tweaks to the visibility rules: 2010-10-26 04:59:26 +00:00
DeclCXX.cpp Keep track in chained PCH of implicit members that were added after the definition was completed. 2010-10-24 17:26:54 +00:00
DeclFriend.cpp Support C++ friend declarations for PCH. 2010-06-29 22:47:00 +00:00
DeclGroup.cpp I lied. Kill off a few more Destroy methods 2010-07-25 18:32:30 +00:00
DeclObjC.cpp Split ObjCInterfaceDecl::ReferencedProtocols into two lists: ReferencedProtocols and AllReferencedProtocols. ReferencedProtocols 2010-09-01 01:21:15 +00:00
DeclPrinter.cpp Tweak in DeclPrinter printing of uses of copy constructors. Patch by Jim Goodnow II. 2010-09-17 23:04:38 +00:00
DeclTemplate.cpp Avoid setters in ASTDeclReader::VisitClassTemplatePartialSpecializationDecl. 2010-09-13 11:45:41 +00:00
DeclarationName.cpp Added locations and type source info for DeclarationName. 2010-08-11 22:01:17 +00:00
Expr.cpp Treat __extension__ like ParenExpr. 2010-10-15 07:51:18 +00:00
ExprCXX.cpp Improve the tracking of source locations for parentheses in constructor calls. 2010-10-25 08:47:36 +00:00
ExprClassification.cpp Eliminate usage of ObjCSuperExpr used for 2010-10-14 16:04:05 +00:00
ExprConstant.cpp Eliminate usage of ObjCSuperExpr used for 2010-10-14 16:04:05 +00:00
FullExpr.cpp Remove the vast majority of the Destroy methods from the AST library, 2010-07-25 18:17:45 +00:00
InheritViz.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
ItaniumCXXABI.cpp The ARM C++ ABI is sufficiently different from the Itanium C++ ABI that 2010-08-21 22:46:04 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
MicrosoftCXXABI.cpp Implement support for member pointers under the Microsoft C++ ABI in the 2010-08-16 03:33:14 +00:00
NestedNameSpecifier.cpp Kill off the last Destroy method in the AST library 2010-07-25 18:23:53 +00:00
ParentMap.cpp GCC didn't care for my attempt at API compatibility, so brute-force everything 2010-08-25 11:45:40 +00:00
RecordLayout.cpp Plug leak. The DenseMaps of CXXRecordLayoutInfo weren't freed. 2010-08-25 00:32:19 +00:00
RecordLayoutBuilder.cpp Move classes into anonymous namespaces. 2010-10-22 16:33:16 +00:00
Stmt.cpp Initialize 'AllEnumCasesCovered' in SwitchStmt's constructor. 2010-09-09 00:06:01 +00:00
StmtDumper.cpp Eliminate usage of ObjCSuperExpr used for 2010-10-14 16:04:05 +00:00
StmtIterator.cpp Add StmtIterator support for iterating over both the condition 2009-12-23 23:38:34 +00:00
StmtPrinter.cpp Update to use 'LLVM_*' macro names for attributes. 2010-10-23 08:21:37 +00:00
StmtProfile.cpp Eliminate usage of ObjCSuperExpr used for 2010-10-14 16:04:05 +00:00
StmtViz.cpp Adapt to the DOTGraphTraits changes in LLVM. 2009-11-30 14:16:05 +00:00
TemplateBase.cpp fix a crash in RecursiveASTVisitor's child classes (PR8403); reviewed by chandlerc. 2010-09-03 23:50:56 +00:00
TemplateName.cpp Fix C++ PCH issues. 2010-09-08 19:31:22 +00:00
Type.cpp Substantially revise how clang computes the visibility of a declaration to 2010-10-22 21:05:15 +00:00
TypeLoc.cpp Remove dead code, caught by unused function warnings. 2010-08-15 01:15:58 +00:00
TypePrinter.cpp "const id<NSFoo> *" instead of "id<NSFoo> const *". 2010-09-05 00:43:21 +00:00