llvm-project/clang/lib/Serialization
John Brawn 72073fc95c [Serialization] Place command line defines in the correct file
Fix several problems related to serialization causing command line
defines to be reported as being built-in defines:
 * When serializing the <built-in> and <command line> files don't
   convert them into absolute paths.
 * When deserializing SM_SLOC_BUFFER_ENTRY we need to call
   setHasLineDirectives in the same way as we do for
   SM_SLOC_FILE_ENTRY.
 * When created suggested predefines based on the current command line
   options we need to add line markers in the same way that
   InitializePreprocessor does.
 * Adjust a place in clangd where it was implicitly relying on command
   line defines being treated as builtin.

Differential Revision: https://reviews.llvm.org/D144651
2023-03-20 17:36:01 +00:00
..
ASTCommon.cpp [WebAssembly] Initial support for reference type externref in clang 2023-02-17 18:48:48 -08:00
ASTCommon.h
ASTReader.cpp [Serialization] Place command line defines in the correct file 2023-03-20 17:36:01 +00:00
ASTReaderDecl.cpp [clang] Use *{Map,Set}::contains (NFC) 2023-03-15 18:06:34 -07:00
ASTReaderInternals.h
ASTReaderStmt.cpp [clang] Use *{Map,Set}::contains (NFC) 2023-03-15 18:06:34 -07:00
ASTWriter.cpp [Serialization] Place command line defines in the correct file 2023-03-20 17:36:01 +00:00
ASTWriterDecl.cpp [C++20] [Modules] Don't load declaration eagerly for named modules 2023-03-10 14:57:21 +08:00
ASTWriterStmt.cpp [clang] Use *{Map,Set}::contains (NFC) 2023-03-15 18:06:34 -07:00
CMakeLists.txt
GeneratePCH.cpp
GlobalModuleIndex.cpp
InMemoryModuleCache.cpp
ModuleFile.cpp
ModuleFileExtension.cpp
ModuleManager.cpp
MultiOnDiskHashTable.h
PCHContainerOperations.cpp