llvm-project/clang/lib
Shafik Yaghmour 9adbbcb7cd [ASTImporter] Handle built-in when importing SourceLocation and FileID
Summary:
Currently when we see a built-in we try and import the include location. Instead what we do now is find the buffer like we do for the invalid case and copy that over to the to context.

Differential Revision: https://reviews.llvm.org/D58743

llvm-svn: 355332
2019-03-04 20:25:54 +00:00
..
ARCMigrate Fix file headers. NFC 2019-03-01 06:49:51 +00:00
AST [ASTImporter] Handle built-in when importing SourceLocation and FileID 2019-03-04 20:25:54 +00:00
ASTMatchers [ASTImporter] Add support for importing ChooseExpr AST nodes. 2019-02-26 19:26:41 +00:00
Analysis Fix file headers. NFC 2019-03-01 06:49:51 +00:00
Basic Tweak r355278 for compatibility with gcc 6 and earlier. 2019-03-02 21:55:36 +00:00
CodeGen [PGO] Clang part of change for context-sensitive PGO (part1) 2019-03-04 20:21:31 +00:00
CrossTU [CTU] Do not allow different CPP dialects in CTU 2019-02-28 15:24:59 +00:00
Driver [PGO] Clang part of change for context-sensitive PGO (part1) 2019-03-04 20:21:31 +00:00
Edit Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Format [clang-format] clang-format off/on not respected when using C Style comments 2019-03-02 09:08:51 +00:00
Frontend [PGO] Clang part of change for context-sensitive PGO (part1) 2019-03-04 20:21:31 +00:00
FrontendTool [analyzer][NFC] Supply CheckerRegistry with AnalyzerOptions 2019-01-26 15:59:21 +00:00
Headers lib/Header: Simplify CMakeLists.txt 2019-03-02 00:50:13 +00:00
Index [clang][index-while-building][NFC] Comment about implementation detail in FileIndexRecord 2019-02-28 01:12:27 +00:00
Lex Fix file headers. NFC 2019-03-01 06:49:51 +00:00
Parse [CodeComplete] Propagate preferred type for function arguments in more cases 2019-02-26 11:01:50 +00:00
Rewrite Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Sema Give builtins and alloc/dealloc operators the default calling convention. 2019-03-04 14:54:52 +00:00
Serialization Modules: Document that ReadASTCore exits its final loop via `return`, NFC 2019-03-03 20:17:53 +00:00
StaticAnalyzer [analyzer] Enable subcheckers to possess checker options 2019-03-04 00:28:16 +00:00
Tooling Switch to cantFail(), since it does the same assertion. 2019-02-06 17:59:39 +00:00
CMakeLists.txt Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00