hanchenye-llvm-project/clang/lib/Sema
Andrey Bokhanko 67a4186ee6 [MSVC] Support for __unaligned qualifier in functions
This implements support for MS-specific __unaligned qualifier in functions and
makes the following test case both compile and mangle correctly:

struct S {
    void f() __unaligned;
};
void S::f() __unaligned {
}

Differential Revision: http://reviews.llvm.org/D20437

llvm-svn: 270834
2016-05-26 10:06:01 +00:00
..
AnalysisBasedWarnings.cpp Rename a variable to avoid shadowing function parameter. NFC. 2016-05-25 05:42:00 +00:00
AttributeList.cpp P0188R1: add support for standard [[fallthrough]] attribute. This is almost 2016-03-08 00:32:55 +00:00
CMakeLists.txt [coroutines] Initial stub Sema functionality for handling coroutine await / yield / return. 2015-10-22 06:13:50 +00:00
CodeCompleteConsumer.cpp Silence some MSVC false positive warnings about integer zexts and falling off the end of a covered switch 2016-02-10 19:09:15 +00:00
DeclSpec.cpp [MSVC] Support for __unaligned qualifier in functions 2016-05-26 10:06:01 +00:00
DelayedDiagnostic.cpp Addressing review comments for r261163. 2016-02-22 04:47:24 +00:00
IdentifierResolver.cpp [modules] Separately track whether an identifier's preprocessor information and 2016-02-05 19:03:40 +00:00
JumpDiagnostics.cpp Some minor ARC diagnostic improvements. 2015-10-21 18:06:38 +00:00
MultiplexExternalSemaSource.cpp Method Pool in modules: we make sure that if a module contains an entry for 2016-04-29 19:04:05 +00:00
Scope.cpp [Parser] Clear the TemplateParamScope bit of the current scope's flag 2016-04-29 02:24:14 +00:00
ScopeInfo.cpp [Objective-c] Do not set IsExact to true when the receiver is a class. 2016-03-22 05:00:21 +00:00
Sema.cpp Make Sema::getPrintingPolicy less ridiculously expensive. This used to perform 2016-05-19 01:39:10 +00:00
SemaAccess.cpp Make SemaAccess smarter about determining when a dependent class might 2016-03-23 20:39:06 +00:00
SemaAttr.cpp [NFC] Initialize a variable to make buildbot green. 2016-04-29 22:50:16 +00:00
SemaCUDA.cpp [CUDA] Do not allow non-empty destructors for global device-side variables. 2016-05-19 20:13:53 +00:00
SemaCXXScopeSpec.cpp [modules] Enforce the rules that an explicit or partial specialization must be 2016-05-05 00:56:12 +00:00
SemaCast.cpp [OpenCL] Allow explicit cast of 0 to event_t. 2016-05-20 17:18:16 +00:00
SemaChecking.cpp [OpenCL] Add to_{global|local|private} builtin functions. 2016-05-20 19:54:38 +00:00
SemaCodeComplete.cpp Make Sema::getPrintingPolicy less ridiculously expensive. This used to perform 2016-05-19 01:39:10 +00:00
SemaConsumer.cpp
SemaCoroutine.cpp [coroutines] Build a CoroutineBodyStmt when finishing parsing a coroutine, and form the initial_suspend, final_suspend, and get_return_object calls. 2015-11-24 02:34:39 +00:00
SemaDecl.cpp [ms][dll] #26935 Defining a dllimport function should cause it to be exported 2016-05-25 11:32:42 +00:00
SemaDeclAttr.cpp [MS ABI] Implement __declspec(empty_bases) and __declspec(layout_version) 2016-05-23 17:16:12 +00:00
SemaDeclCXX.cpp [modules] Ask the canonical decl whether the constructor was defaulted. 2016-05-24 12:10:36 +00:00
SemaDeclObjC.cpp Prune four superfluous ExternalSemaSource.h includes and one forward declaration in Sema.h 2016-05-13 14:53:19 +00:00
SemaExceptionSpec.cpp Wire a SourceLocation into IsDerivedFrom and move the RequireCompleteType call 2015-12-18 21:45:41 +00:00
SemaExpr.cpp [OPENMP] Pass scalar firstprivate vars by value. 2016-05-17 08:55:33 +00:00
SemaExprCXX.cpp [MSVC] Support for __unaligned qualifier in functions 2016-05-26 10:06:01 +00:00
SemaExprMember.cpp [OPENMP 4.5] Codegen for dacross loop synchronization constructs. 2016-05-25 12:36:08 +00:00
SemaExprObjC.cpp [ObjC kindof] Use type bound to filter out the candidate methods. 2016-04-07 19:32:24 +00:00
SemaFixItUtils.cpp Wire a SourceLocation into IsDerivedFrom and move the RequireCompleteType call 2015-12-18 21:45:41 +00:00
SemaInit.cpp Warn when a reference is bound to an empty l-value (dereferenced null pointer). 2016-05-14 17:44:14 +00:00
SemaLambda.cpp [Parser] Clear the TemplateParamScope bit of the current scope's flag 2016-04-29 02:24:14 +00:00
SemaLookup.cpp [Sema] Fix use after move. Found by ubsan. 2016-05-19 21:53:33 +00:00
SemaObjCProperty.cpp [ObjC] Remove _Atomic from return type and parameter type of 2016-05-26 00:37:30 +00:00
SemaOpenMP.cpp [OPENMP 4.5] Codegen for dacross loop synchronization constructs. 2016-05-25 12:36:08 +00:00
SemaOverload.cpp Preserve the FoundDecl when performing overload resolution for constructors. 2016-05-11 20:37:46 +00:00
SemaPseudoObject.cpp arc-repeated-use-of-weak should not warn about IBOutlet properties 2016-05-25 05:41:57 +00:00
SemaStmt.cpp [OPENMP] Pass scalar firstprivate vars by value. 2016-05-17 08:55:33 +00:00
SemaStmtAsm.cpp Avoid using LookupResult's implicit copy ctor and assignment operator to avoid warnings 2016-03-16 09:56:58 +00:00
SemaStmtAttr.cpp [OpenCL] Added nosvm attribute for OpenCL v2.0. 2016-03-31 11:07:22 +00:00
SemaTemplate.cpp Revert r270748 "clang-cl: Treat dllimport explicit template instantiation definitions as declarations (PR27810, PR27811)" 2016-05-25 20:49:14 +00:00
SemaTemplateDeduction.cpp Fix PR27601 by reverting [r267453] - Refactor traversal of bases in deduction of template parameters from base 2016-05-19 02:28:21 +00:00
SemaTemplateInstantiate.cpp Preserve the FoundDecl when performing overload resolution for constructors. 2016-05-11 20:37:46 +00:00
SemaTemplateInstantiateDecl.cpp [modules] Enforce the rules that an explicit or partial specialization must be 2016-05-05 00:56:12 +00:00
SemaTemplateVariadic.cpp Enable support for __float128 in Clang and enable it on pertinent platforms 2016-05-09 08:52:33 +00:00
SemaType.cpp [MSVC] Support for __unaligned qualifier in functions 2016-05-26 10:06:01 +00:00
TreeTransform.h Preserve the FoundDecl when performing overload resolution for constructors. 2016-05-11 20:37:46 +00:00
TypeLocBuilder.cpp [Sema] Fix bug in TypeLocBuilder::pushImpl 2016-02-18 21:05:09 +00:00
TypeLocBuilder.h Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00