llvm-project/clang/lib
Reid Kleckner f00f803294 [DebugInfo] Add calling conventions to DISubroutineType
Summary:
This should have been a very simple change, but it was greatly
complicated by the construction of new Decls during IR generation.

In particular, we reconstruct the AST function type in order to get the
implicit 'this' parameter into C++ method types.

We also have to worry about FunctionDecls whose types are not
FunctionTypes because CGBlocks.cpp constructs some dummy FunctionDecls
with 'void' type.

Depends on D21114

Reviewers: aprantl, dblaikie

Subscribers: cfe-commits

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

llvm-svn: 272198
2016-06-08 20:41:54 +00:00
..
ARCMigrate Apply clang-tidy's misc-move-constructor-init throughout Clang. 2016-05-27 14:27:13 +00:00
AST [ItaniumMangle] Mangle dependent __underlying_type correctly 2016-06-08 00:34:15 +00:00
ASTMatchers Adding an AST matcher to ignore parenthesis in *types* (rather than expressions). This is required for traversing certain types (like function pointer types). 2016-06-06 18:52:17 +00:00
Analysis Turn copies into references as suggested by clang-tidy's performance-unnecessary-copy-initialization. 2016-05-27 13:36:58 +00:00
Basic AMDGPU: Verify subtarget specific builtins 2016-06-08 01:56:42 +00:00
CodeGen [DebugInfo] Add calling conventions to DISubroutineType 2016-06-08 20:41:54 +00:00
Driver [mips] The default ABI depends on the CPU not the Arch on MTI and IMG vendor triples. 2016-06-06 12:02:21 +00:00
Edit Remove autoconf support 2016-01-26 21:30:40 +00:00
Format clang-format: [JS] fix a FIXME. 2016-06-08 14:05:26 +00:00
Frontend [Modules] Improve diagnostics for LockFileManager errors 2016-06-04 01:13:22 +00:00
FrontendTool Make it possible for AST plugins to enable themselves by default 2016-03-15 12:51:40 +00:00
Headers [AVX512] Emit select instruction instead of using x86 specific instrinsics. 2016-06-08 13:59:20 +00:00
Index Enable support for __float128 in Clang and enable it on pertinent platforms 2016-05-09 08:52:33 +00:00
Lex Revert commit r271708 2016-06-04 03:14:43 +00:00
Parse FixIt: use getLocForEndOfToken to insert fix-it after a type name. 2016-06-02 00:11:03 +00:00
Rewrite Remove use of builtin comma operator. 2016-02-18 22:34:54 +00:00
Sema [Sema] Don't permit catching variably modified types 2016-06-08 16:05:07 +00:00
Serialization PCH + module: make sure we write out macros associated with builtin identifiers. 2016-05-31 18:19:32 +00:00
StaticAnalyzer Prune away some unused using decls. NFC. 2016-06-08 15:34:36 +00:00
Tooling Avoid unnecessary std::string copies. NFC. 2016-05-29 11:04:56 +00:00
CMakeLists.txt