llvm-project/clang/lib/AST
John McCall df25c43599 Rework the visibility computation algorithm in preparation
for distinguishing type vs. value visibility.

The changes to the visibility of explicit specializations
are intentional.  The change to the "ugly" test case is
a consequence of a sensible implementation, and I am happy
to argue that this is better behavior.  Other changes may
or may not be intended;  it is quite difficult to divine
intent from some of the code I altered.

I've left behind a comment which I hope explains the
philosophy behind visibility computation.

llvm-svn: 175326
2013-02-16 00:17:33 +00:00
..
APValue.cpp Don't crash while printing APValues that are lvalues casted to a 2013-01-29 01:26:43 +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 objective-C: Fixes a compiler crash when encoding 2013-02-15 21:14:50 +00:00
ASTDiagnostic.cpp When comparing two template template arguments in the template differ, consider 2013-01-31 02:47:46 +00:00
ASTDumper.cpp Remove const_casts by making spec_begin()/spec_end() const 2013-02-14 13:20:36 +00:00
ASTImporter.cpp Rework the traversal of Objective-C categories and extensions to 2013-01-16 23:00:23 +00:00
AttrImpl.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
CMakeLists.txt Comment parsing: improve the fidelity of XML output for many block commands 2013-02-01 20:23:57 +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 Fix Cast 2013-01-15 22:09:40 +00:00
Comment.cpp Dump comments in -ast-dump. 2013-01-14 14:07:11 +00:00
CommentBriefParser.cpp Comment AST: TableGen'ize all command lists in CommentCommandTraits.cpp. 2012-09-10 20:32:42 +00:00
CommentCommandTraits.cpp Comment parsing: handle non-builtin commands correctly. After semantic 2012-09-11 19:22:03 +00:00
CommentLexer.cpp Use static functions instead of an unnamed namespace 2013-02-10 11:54:22 +00:00
CommentParser.cpp Comment parsing: use CharInfo.h 2013-02-09 15:16:58 +00:00
CommentSema.cpp [Comment parsing] Add support for recognizing 2013-01-31 23:12:39 +00:00
Decl.cpp Rework the visibility computation algorithm in preparation 2013-02-16 00:17:33 +00:00
DeclBase.cpp Add a getLanguageLinkage method to VarDecls and FunctionDecls. Use it to fix 2013-02-14 01:18:37 +00:00
DeclCXX.cpp Ensure that type definitions present in just-loaded modules are 2013-02-09 01:35:03 +00:00
DeclFriend.cpp Added outer template parameter lists to friend type AST nodes. 2013-01-31 09:54:08 +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 objective-C: synthesize properties in order of their 2013-02-14 22:33:34 +00:00
DeclPrinter.cpp DeclPrinter: fix CXXConstructExpr printing with implicit default argument 2013-02-03 23:02:47 +00:00
DeclTemplate.cpp Remove const_casts by making spec_begin()/spec_end() const 2013-02-14 13:20:36 +00:00
DeclarationName.cpp Don't include Type.h in DeclarationName.h. 2012-12-01 16:35:25 +00:00
DumpXML.cpp Rework the traversal of Objective-C categories and extensions to 2013-01-16 23:00:23 +00:00
Expr.cpp Excise <cctype> from Clang (except clang-tblgen) in favor of CharInfo.h. 2013-02-08 22:30:41 +00:00
ExprCXX.cpp Remove useless 'llvm::' qualifier from names like StringRef and others that are 2013-01-12 19:30:44 +00:00
ExprClassification.cpp Correctly classify T{} as an array temporary if T is an array of class type with nontrivial destructor. 2013-02-02 02:11:36 +00:00
ExprConstant.cpp Fix a crash in OpenCL code by using the proper (RHS) bit-width. 2013-01-29 15:09:40 +00:00
ExternalASTSource.cpp Simplify FindExternalVisibleDeclsByName by making it return a bool indicating 2013-02-07 03:30:24 +00:00
InheritViz.cpp Remove an unneeded const_cast 2013-01-14 00:25:25 +00:00
ItaniumCXXABI.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
ItaniumMangle.cpp Mangle extern "C" functions whose names are not simple identifiers. 2013-02-14 15:38:59 +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 BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
Mangle.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
MicrosoftCXXABI.cpp Revert r163078 per chandlerc's request. 2012-09-04 17:18:12 +00:00
MicrosoftMangle.cpp Emit virtual/deleting destructors properly with -cxx-abi microsoft, PR15058 2013-02-13 08:37:51 +00:00
NSAPI.cpp Add OpenCL samplers as Clang builtin types and check sampler related restrictions. 2013-02-07 10:55:47 +00:00
NestedNameSpecifier.cpp Add constness for NestedNameSpecifier::Create parameter 2013-01-23 17:06:56 +00:00
ParentMap.cpp ParentMap: Restore the ability to update an existing map. 2012-10-06 01:19:36 +00:00
RawCommentList.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
RecordLayout.cpp First pass at abstracting out a class for the target C++ ABI. 2013-01-25 22:30:49 +00:00
RecordLayoutBuilder.cpp Abstract the behavior of when to use base-class tail padding. 2013-01-29 01:14:22 +00:00
SelectorLocationsKind.cpp Fix crash when using archaic protocol, rdar://10238337 2011-10-05 21:28:06 +00:00
Stmt.cpp Excise <cctype> from Clang (except clang-tblgen) in favor of CharInfo.h. 2013-02-08 22:30:41 +00:00
StmtIterator.cpp Support for C++11 (non-template) alias declarations. 2011-04-15 14:24:37 +00:00
StmtPrinter.cpp StmtPrinter: Write large char values using \u or \U. 2013-02-08 22:30:27 +00:00
StmtProfile.cpp Fix the AST representation for non-type template arguments to encode 2012-09-26 02:36:12 +00:00
StmtViz.cpp
TemplateBase.cpp Excise <cctype> from Clang (except clang-tblgen) in favor of CharInfo.h. 2013-02-08 22:30:41 +00:00
TemplateName.cpp Implement AST dumper for Decls. 2012-12-20 02:09:13 +00:00
Type.cpp Add OpenCL samplers as Clang builtin types and check sampler related restrictions. 2013-02-07 10:55:47 +00:00
TypeLoc.cpp Add OpenCL samplers as Clang builtin types and check sampler related restrictions. 2013-02-07 10:55:47 +00:00
TypePrinter.cpp Add intel_ocl_bicc calling convention as a function attribute to clang. The calling convention is already implemented in LLVM. 2012-12-25 08:53:55 +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 Emit virtual/deleting destructors properly with -cxx-abi microsoft, PR15058 2013-02-13 08:37:51 +00:00