llvm-project/clang/lib/AST
Erich Keane 5759fa798b Correct behavior of fastcall when default CC is set.
Fastcall doesn't support variadic function calls, so
setting the default calling convention to Fastcall would
result in incorrect code being emitted for these conditions.

This patch adds a 'variadic' test to the default calling conv
test, as well as fixes the behavior of fastcall.

llvm-svn: 316528
2017-10-24 23:12:01 +00:00
..
APValue.cpp Re-commit r289252 and r289285, and fix PR31374 2016-12-15 08:09:08 +00:00
ASTConsumer.cpp Move LocInfoType from Sema to AST. 2016-02-01 17:42:01 +00:00
ASTContext.cpp Correct behavior of fastcall when default CC is set. 2017-10-24 23:12:01 +00:00
ASTDiagnostic.cpp Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-03 06:31:42 +00:00
ASTDumper.cpp Extend -ast-dump for CXXRecordDecl to dump the flags from the DefinitionData. 2017-09-22 00:11:15 +00:00
ASTImporter.cpp [ASTImporter] Import SubStmt of CaseStmt 2017-10-18 09:25:18 +00:00
ASTStructuralEquivalence.cpp Dependent Address Space Support 2017-10-02 06:25:51 +00:00
ASTTypeTraits.cpp Teach clang-query to dump types. I couldn't find any existing tests for clang-query's dumping functionality. =( 2016-11-02 23:57:18 +00:00
AttrImpl.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
CMakeLists.txt [analyzer] Make StmtDataCollector customizable 2017-08-23 16:28:26 +00:00
CXXABI.h Remove C++ default arg side table for MS ABI ctor closures 2016-11-23 16:51:30 +00:00
CXXInheritance.cpp [index] Avoid one more crash caused by infinite recursion that happens when 2017-05-18 18:06:07 +00:00
Comment.cpp [AST] Look through attribute type locs when searching for function type 2017-04-26 12:46:27 +00:00
CommentBriefParser.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
CommentCommandTraits.cpp
CommentLexer.cpp Fix 'unknown documentation command' warning ranges 2016-10-25 10:06:11 +00:00
CommentParser.cpp [cleanup] Remove excessive padding from TextTokenRetokenizer::Position 2016-09-20 18:32:48 +00:00
CommentSema.cpp -Wdocumentation should allow '...' params in variadic function type aliases 2017-10-06 20:51:04 +00:00
DataCollection.cpp [analyzer] Make StmtDataCollector customizable 2017-08-23 16:28:26 +00:00
Decl.cpp Enable support for the [[nodiscard]] attribute from WG14 N2050 when enabling double square bracket attributes in C code. 2017-10-17 20:33:35 +00:00
DeclBase.cpp [Modules TS] Module ownership semantics for redeclarations. 2017-10-10 22:33:17 +00:00
DeclCXX.cpp Support for destroying operator delete, per C++2a proposal P0722. 2017-10-13 01:55:36 +00:00
DeclFriend.cpp [TrailingObjects] Convert Decl* classes. 2015-12-29 22:13:13 +00:00
DeclGroup.cpp Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 14:27:22 +00:00
DeclObjC.cpp [ObjC] Pick a 'readwrite' property when synthesizing ambiguous 2017-07-13 11:06:22 +00:00
DeclOpenMP.cpp [OPENMP] Fix for PR31416: Clang crashes on OMPCapturedExpr during source 2016-12-20 16:51:02 +00:00
DeclPrinter.cpp [OPENMP] Fix for PR34445: Reduction initializer segfaults at runtime in 2017-09-06 14:49:58 +00:00
DeclTemplate.cpp Add a destruct-on-exit function to ASTContext. 2017-02-14 05:37:36 +00:00
DeclarationName.cpp [ASTPrinter] Print nested name specifiers for out-of-line functions 2017-04-11 16:46:03 +00:00
Expr.cpp Fix nodiscard for volatile references 2017-10-19 15:58:58 +00:00
ExprCXX.cpp Support for destroying operator delete, per C++2a proposal P0722. 2017-10-13 01:55:36 +00:00
ExprClassification.cpp [Sema] Disallow assigning record lvalues with nested const-qualified fields. 2017-09-19 13:10:30 +00:00
ExprConstant.cpp Unnamed bitfields don't block constant evaluation of constexpr ctors 2017-10-24 02:17:07 +00:00
ExprObjC.cpp Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 14:27:22 +00:00
ExternalASTMerger.cpp Fix -Wcast-qual warning after r314336. 2017-09-28 15:44:46 +00:00
ExternalASTSource.cpp Modular Codegen: Support homing debug info for types in modular objects 2017-04-11 21:13:37 +00:00
InheritViz.cpp
ItaniumCXXABI.cpp Remove C++ default arg side table for MS ABI ctor closures 2016-11-23 16:51:30 +00:00
ItaniumMangle.cpp Convert clang::LangAS to a strongly typed enum 2017-10-15 18:48:14 +00:00
Linkage.h Give external linkage and mangling to lambdas inside inline variables and variable templates. 2017-09-22 04:25:05 +00:00
Mangle.cpp [modules ts] Ensure that module linkage variables are always emitted and always have their name mangled. 2017-09-07 00:55:55 +00:00
MicrosoftCXXABI.cpp Remove C++ default arg side table for MS ABI ctor closures 2016-11-23 16:51:30 +00:00
MicrosoftMangle.cpp Dependent Address Space Support 2017-10-02 06:25:51 +00:00
NSAPI.cpp Recommit "Add _Float16 as a C/C++ source language type" 2017-09-08 15:15:00 +00:00
NestedNameSpecifier.cpp Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-03 06:31:42 +00:00
ODRHash.cpp [ODRHash] Add base classes to hashing CXXRecordDecl. 2017-09-30 02:19:17 +00:00
OpenMPClause.cpp [OPENMP] Capture argument of `device` clause for target-based 2017-10-02 16:32:39 +00:00
ParentMap.cpp [arcmt/objcmt] Fix ParentMap crash with invalid code. 2016-07-14 20:21:16 +00:00
RawCommentList.cpp AST: Improve a couple of comments and cast unused values to void 2016-10-16 20:12:42 +00:00
RecordLayout.cpp [RecordLayout] Use an ASTVector instead of using a separate pointer and counter 2016-05-24 18:10:50 +00:00
RecordLayoutBuilder.cpp Convert clang::LangAS to a strongly typed enum 2017-10-15 18:48:14 +00:00
SelectorLocationsKind.cpp
Stmt.cpp [OPENMP] Support for re-declarations when checking captured variables. 2017-09-20 20:11:31 +00:00
StmtCXX.cpp [coroutines] Add serialization/deserialization of coroutines 2017-07-25 18:01:49 +00:00
StmtIterator.cpp [ptr-traits] Stop using two bogus types as stand-ins for flags 2015-12-30 02:51:00 +00:00
StmtObjC.cpp Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 14:27:22 +00:00
StmtOpenMP.cpp [OPENMP] Codegen for 'task_reduction' clause. 2017-07-25 15:53:26 +00:00
StmtPrinter.cpp Recommit "Add _Float16 as a C/C++ source language type" 2017-09-08 15:15:00 +00:00
StmtProfile.cpp Hide "#pragma optimize("", off)" from clang when it pretends to be MSVC 2017 2017-10-13 16:18:32 +00:00
StmtViz.cpp
TemplateBase.cpp [AST] Give TemplateArgumentLoc a constexpr ctor. 2017-01-30 18:32:46 +00:00
TemplateName.cpp PR10147: When substituting a template template argument, substitute in the most 2017-08-29 22:14:43 +00:00
Type.cpp Replaced unicode characters with ASCII, as introduced in r316518. 2017-10-24 22:00:25 +00:00
TypeLoc.cpp Recommit "Add _Float16 as a C/C++ source language type" 2017-09-08 15:15:00 +00:00
TypePrinter.cpp Convert clang::LangAS to a strongly typed enum 2017-10-15 18:48:14 +00:00
VTTBuilder.cpp
VTableBuilder.cpp [ms] Fix vbtable index for covariant overrides of vbase methods 2017-08-29 17:40:04 +00:00