llvm-project/clang/lib/Sema
David Majnemer 4bb0980d96 MS ABI: Add support for #pragma pointers_to_members
Introduce a notion of a 'current representation method' for
pointers-to-members.

When starting out, this is set to 'best case' (representation method is
chosen by examining the class, selecting the smallest representation
that would work given the class definition or lack thereof).

This pragma allows the translation unit to dictate exactly what
representation to use, similar to how the inheritance model keywords
operate.

N.B.  PCH support is forthcoming.

Differential Revision: http://llvm-reviews.chandlerc.com/D2723

llvm-svn: 201105
2014-02-10 19:50:15 +00:00
..
AnalysisBasedWarnings.cpp Rename getResultType() on function and method declarations to getReturnType() 2014-01-25 16:55:45 +00:00
AttributeList.cpp Add a new attribute meta-spelling called "GCC" -- it widens into being a GNU spelling, and a CXX11 spelling with the namespace "gnu". It also sets a bit on the spelling certifying that it is known to GCC. From this, we can warn about the extension appropriately. As a consequence, the FunctionDefinition functionality is completely removed. 2014-01-27 22:10:04 +00:00
CMakeLists.txt Removing the notion of TargetAttributesSema and replacing it with one where the parsed attributes are responsible for knowing their target-specific nature, instead of letting Sema figure it out. This is necessary so that __has_attribute can eventually determine whether a parsed attribute applies to the given target or not. 2014-01-09 22:48:32 +00:00
CodeCompleteConsumer.cpp Allow the computation of the base priority for a declaration code completion result to consider the completion context 2013-01-31 04:52:16 +00:00
DeclSpec.cpp Fix for PR9812: warn about bool instead of _Bool. 2014-01-15 09:15:43 +00:00
DelayedDiagnostic.cpp Implemented delayed processing of 'unavailable' checking, just like with 'deprecated'. 2013-12-18 23:30:06 +00:00
IdentifierResolver.cpp Per [dcl.meaning]p1, a name in an inline namespace can be redeclared using a 2013-12-05 04:30:04 +00:00
JumpDiagnostics.cpp Rename language option MicrosoftMode to MSVCCompat 2014-01-14 12:51:41 +00:00
Makefile
MultiplexExternalSemaSource.cpp Add hooks to ExternalSemaSource for after-the-fact diagnosis of 2013-08-12 22:11:14 +00:00
Scope.cpp Fix to PR8880 (clang dies processing a for loop) 2014-01-23 15:05:00 +00:00
ScopeInfo.cpp [REFACTOR] Refactored some of the generic-lambda capturing code. 2013-12-07 20:22:44 +00:00
Sema.cpp MS ABI: Add support for #pragma pointers_to_members 2014-02-10 19:50:15 +00:00
SemaAccess.cpp Move the -fms-compatibility using decl check after real access checking 2014-02-08 02:40:20 +00:00
SemaAttr.cpp MS ABI: Add support for #pragma pointers_to_members 2014-02-10 19:50:15 +00:00
SemaCXXScopeSpec.cpp Improve diagnostic for using non-class/namespace/scoped enum in a nested name specifier. 2014-02-09 06:54:23 +00:00
SemaCast.cpp MS ABI: Tweak pointer-to-member mangling/inheritance model selection 2014-02-06 10:59:19 +00:00
SemaChecking.cpp Objective-C. Revert patch r193003 for further 2014-02-07 19:25:10 +00:00
SemaCodeComplete.cpp Rename getResultType() on function and method declarations to getReturnType() 2014-01-25 16:55:45 +00:00
SemaConsumer.cpp Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:48:34 +00:00
SemaDecl.cpp MS ABI: Add support for #pragma pointers_to_members 2014-02-10 19:50:15 +00:00
SemaDeclAttr.cpp MS ABI: Add support for #pragma pointers_to_members 2014-02-10 19:50:15 +00:00
SemaDeclCXX.cpp DR101, PR12770: If a function is declared in the same context as a 2014-02-06 01:31:33 +00:00
SemaDeclObjC.cpp Objective-C. Fixes a bug where "new" family attribute 2014-01-28 22:46:29 +00:00
SemaExceptionSpec.cpp PR16638, DR1552: the exception specification on an implicitly-declared 2014-02-07 22:51:16 +00:00
SemaExpr.cpp Tighten lax vector-conversion rules and enforce them consistently. 2014-02-04 23:58:19 +00:00
SemaExprCXX.cpp Fix lifetime issue causing buildbot failures. 2014-02-08 00:42:45 +00:00
SemaExprMember.cpp PR12788: Remove unnecessary and incorrect special case for indirect fields. 2014-01-17 22:29:43 +00:00
SemaExprObjC.cpp Rename getResultType() on function and method declarations to getReturnType() 2014-01-25 16:55:45 +00:00
SemaFixItUtils.cpp PR17290: Use 'false' macro in fix-it hint for initializing a variable of type 2013-09-20 00:27:40 +00:00
SemaInit.cpp Rename getResultType() on function and method declarations to getReturnType() 2014-01-25 16:55:45 +00:00
SemaLambda.cpp PR18128: a lambda capture-default is not permitted for a non-local lambda 2014-02-06 21:49:08 +00:00
SemaLookup.cpp PR18685: Ignore class template specializations as potential 2014-02-09 21:47:04 +00:00
SemaObjCProperty.cpp ObjectiveC. When introducing a new property declaration in 2014-01-27 19:14:49 +00:00
SemaOpenMP.cpp [OPENMP] Bug fixes in threadprivate declaration and data sharing attributes processing. (http://llvm-reviews.chandlerc.com/D2451) 2014-01-31 05:15:34 +00:00
SemaOverload.cpp Tighten lax vector-conversion rules and enforce them consistently. 2014-02-04 23:58:19 +00:00
SemaPseudoObject.cpp Rename getResultType() on function and method declarations to getReturnType() 2014-01-25 16:55:45 +00:00
SemaStmt.cpp Rename getResultLoc() too 2014-01-25 23:51:36 +00:00
SemaStmtAsm.cpp [ms-inline asm] Don't diagnose an empty lookup for inline assmebly. This happen 2013-05-24 18:32:55 +00:00
SemaStmtAttr.cpp Distinguish between attributes explicitly written at the request of the user, and attributes implicitly generated to assist in bookkeeping by the compiler. This is done so by table generating a CreateImplicit method for each attribute. 2014-01-16 13:03:14 +00:00
SemaTemplate.cpp PR16519, PR18009: When checking a partial specialization for uses of its own 2014-02-09 00:54:43 +00:00
SemaTemplateDeduction.cpp Rename getResultType() on function and method declarations to getReturnType() 2014-01-25 16:55:45 +00:00
SemaTemplateInstantiate.cpp Update FunctionTypeLoc and related names to match r199686 2014-01-21 00:32:38 +00:00
SemaTemplateInstantiateDecl.cpp Implement DR329. We already did the right thing here in C++98 mode, but r104014 2014-02-03 02:37:59 +00:00
SemaTemplateVariadic.cpp Sort all the #include lines with LLVM's utils/sort_includes.py which 2014-01-07 11:51:46 +00:00
SemaType.cpp MS ABI: Add support for #pragma pointers_to_members 2014-02-10 19:50:15 +00:00
TreeTransform.h Allow transformation of VariableArray to ConstantArray. 2014-02-06 03:49:11 +00:00
TypeLocBuilder.cpp Add missing file from r183563 (the recommit of 183466). 2013-06-07 20:33:10 +00:00
TypeLocBuilder.h Re-commit r183466 with a fix to make the TypeLoc casting machinery work 2013-06-07 20:31:48 +00:00