llvm-project/clang/lib/Sema
Bob Wilson 7c73083bd3 Ignore the "novtable" declspec when not using the Microsoft C++ ABI.
Clang used to silently ignore __declspec(novtable). It is implemented
now, but leaving the vtable uninitialized does not work when using the
Itanium ABI, where the class layout for complex class hierarchies is
stored in the vtable. It might be possible to honor the novtable
attribute in some simple cases and either report an error or ignore
it in more complex situations, but it’s not clear if that would be
worthwhile. There is also value in having a simple and predictable
behavior, so this changes clang to simply ignore novtable when not using
the Microsoft C++ ABI.

llvm-svn: 242730
2015-07-20 22:57:31 +00:00
..
AnalysisBasedWarnings.cpp Switch users of the 'for (StmtRange range = stmt->children(); range; ++range)‘ pattern to range for loops. 2015-07-02 21:03:14 +00:00
AttributeList.cpp Ignore the "novtable" declspec when not using the Microsoft C++ ABI. 2015-07-20 22:57:31 +00:00
CMakeLists.txt Split off CUDA-specific Sema parts to a new file 2014-09-03 15:27:03 +00:00
CodeCompleteConsumer.cpp [libclang] Replace ObjC generic parameters in code-completion results. 2015-07-07 06:20:19 +00:00
DeclSpec.cpp C++ support for Objective-C lightweight generics. 2015-07-07 03:58:14 +00:00
DelayedDiagnostic.cpp Add -Wpartial-availability. 2015-03-19 19:18:22 +00:00
IdentifierResolver.cpp [modules] Remove redundant import of lexical decls when building a lookup table 2015-03-23 03:25:59 +00:00
JumpDiagnostics.cpp Switch users of the 'for (StmtRange range = stmt->children(); range; ++range)‘ pattern to range for loops. 2015-07-02 21:03:14 +00:00
Makefile
MultiplexExternalSemaSource.cpp Detect uses of mismatching forms of 'new' and 'delete' 2015-05-18 19:59:11 +00:00
Scope.cpp MS ABI: Implement the MSVC 2015 scheme for scope disambiguation 2015-03-19 21:54:30 +00:00
ScopeInfo.cpp SEH: Diagnose use of C++ EH and SEH in the same function 2015-02-02 22:15:31 +00:00
Sema.cpp Remove two unused includes. 2015-07-19 20:42:48 +00:00
SemaAccess.cpp Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00
SemaAttr.cpp Implement section pragma feedback on r205810 2015-03-04 23:39:17 +00:00
SemaCUDA.cpp Create a frontend flag to disable CUDA cross-target call checks 2015-04-15 22:27:06 +00:00
SemaCXXScopeSpec.cpp Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00
SemaCast.cpp [Sema] If lvalue to rvalue reference cast is valid don't emit diagnostic. 2015-07-12 22:10:56 +00:00
SemaChecking.cpp Warn when an Objective-C collection literal element is converted to an incompatible type. 2015-07-07 03:58:22 +00:00
SemaCodeComplete.cpp [CodeCompletion] Don't crash on member inits of templated constructors. 2015-07-09 15:31:10 +00:00
SemaConsumer.cpp
SemaDecl.cpp [modules] Don't save uninteresting identifiers, and don't consider identifiers 2015-07-19 21:41:12 +00:00
SemaDeclAttr.cpp Ignore the "novtable" declspec when not using the Microsoft C++ ABI. 2015-07-20 22:57:31 +00:00
SemaDeclCXX.cpp Silence a -Wtype-limits warning; NFC. 2015-07-20 13:36:07 +00:00
SemaDeclObjC.cpp Move class into an anonymous namespace. NFC. 2015-07-13 20:42:13 +00:00
SemaExceptionSpec.cpp Fix alignment issues in Clang. 2015-07-17 18:21:37 +00:00
SemaExpr.cpp [Sema] Don't emit "pure virtual" warning for fully qualified calls. 2015-07-14 23:36:10 +00:00
SemaExprCXX.cpp Fix a typo correction crash when resolving ambiguous corrections. 2015-06-25 23:47:39 +00:00
SemaExprMember.cpp Substitute type arguments into uses of Objective-C interface members. 2015-07-07 03:57:53 +00:00
SemaExprObjC.cpp Implement the Objective-C __kindof type qualifier. 2015-07-07 03:58:42 +00:00
SemaFixItUtils.cpp [modules] Stop trying to fake up a linear MacroDirective history. 2015-04-29 23:20:19 +00:00
SemaInit.cpp [Sema] Emit correct warning when copy-elision is not possible. 2015-07-18 01:15:19 +00:00
SemaLambda.cpp Fix assertion failure if a lambda array-capture is followed by a this capture. 2015-04-28 21:41:14 +00:00
SemaLookup.cpp Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00
SemaObjCProperty.cpp Substitute type arguments into uses of Objective-C interface members. 2015-07-07 03:57:53 +00:00
SemaOpenMP.cpp [AST] Remove StmtRange in favor of an iterator_range. 2015-07-18 17:09:36 +00:00
SemaOverload.cpp [Sema] Don't emit "pure virtual" warning for fully qualified calls. 2015-07-14 23:36:10 +00:00
SemaPseudoObject.cpp Substitute type arguments into uses of Objective-C interface members. 2015-07-07 03:57:53 +00:00
SemaStmt.cpp Re-enable 32-bit SEH after the alignment fix 2015-07-10 00:16:25 +00:00
SemaStmtAsm.cpp [X86, inlineasm] Improve analysis of x,Y0,Yi,Ym,Yt,L,e,Z,s asm constraints (patch by Alexey Frolov) 2015-07-20 12:08:00 +00:00
SemaStmtAttr.cpp Add assume_safety option for pragma loop vectorize and interleave. 2015-06-11 23:23:17 +00:00
SemaTemplate.cpp Sema: Allow null names to be passed in to isAcceptableTagRedeclaration 2015-07-10 23:05:47 +00:00
SemaTemplateDeduction.cpp [Sema] Don't crash when deduction fails for decltype(auto) 2015-07-01 00:29:28 +00:00
SemaTemplateInstantiate.cpp Sema: Allow null names to be passed in to isAcceptableTagRedeclaration 2015-07-10 23:05:47 +00:00
SemaTemplateInstantiateDecl.cpp [Sema] Range-loopify SemaTemplateInstantiateDecl.cpp. NFC. 2015-07-02 19:20:11 +00:00
SemaTemplateVariadic.cpp Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00
SemaType.cpp [SemaType] Use a range loop. 2015-07-16 19:31:40 +00:00
TreeTransform.h Sema: Allow null names to be passed in to isAcceptableTagRedeclaration 2015-07-10 23:05:47 +00:00
TypeLocBuilder.cpp [C++11] Use 'nullptr'. Sema edition. 2014-05-26 06:22:03 +00:00
TypeLocBuilder.h Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00