This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository clang.
from 594a067 [Sema] Unbreak GCC -Werror build (enum compare). new 4c3cdee Modules: Cache PCMs in memory and avoid a use-after-free
The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: .../clang/Basic/DiagnosticSerializationKinds.td | 5 ++ include/clang/Basic/MemoryBufferCache.h | 80 ++++++++++++++++++ include/clang/Frontend/ASTUnit.h | 2 + include/clang/Frontend/CompilerInstance.h | 8 +- include/clang/Lex/Preprocessor.h | 4 + include/clang/Serialization/ASTReader.h | 3 + include/clang/Serialization/ASTWriter.h | 5 ++ include/clang/Serialization/Module.h | 6 +- include/clang/Serialization/ModuleManager.h | 8 +- lib/Basic/CMakeLists.txt | 1 + lib/Basic/MemoryBufferCache.cpp | 48 +++++++++++ lib/Frontend/ASTUnit.cpp | 14 +++- lib/Frontend/CompilerInstance.cpp | 23 ++++-- lib/Lex/Preprocessor.cpp | 10 +-- lib/Serialization/ASTReader.cpp | 82 ++++++++++++++----- lib/Serialization/ASTWriter.cpp | 12 ++- lib/Serialization/GeneratePCH.cpp | 3 +- lib/Serialization/ModuleManager.cpp | 27 +++++-- test/Modules/Inputs/system-out-of-date/X.h | 1 + .../foo.h => system-out-of-date/Y.h} | 0 test/Modules/Inputs/system-out-of-date/Z.h | 1 + test/Modules/Inputs/system-out-of-date/module.map | 12 +++ test/Modules/Inputs/warning-mismatch/Mismatch.h | 1 + test/Modules/Inputs/warning-mismatch/System.h | 2 + .../Inputs/warning-mismatch/module.modulemap | 7 ++ test/Modules/outofdate-rebuild.m | 15 ++++ test/Modules/system-out-of-date-test.m | 17 ++++ test/Modules/warning-mismatch.m | 13 +++ unittests/Basic/CMakeLists.txt | 1 + unittests/Basic/MemoryBufferCacheTest.cpp | 94 ++++++++++++++++++++++ unittests/Basic/SourceManagerTest.cpp | 10 ++- unittests/Lex/LexerTest.cpp | 5 +- unittests/Lex/PPCallbacksTest.cpp | 7 +- unittests/Lex/PPConditionalDirectiveRecordTest.cpp | 4 +- 34 files changed, 474 insertions(+), 57 deletions(-) create mode 100644 include/clang/Basic/MemoryBufferCache.h create mode 100644 lib/Basic/MemoryBufferCache.cpp create mode 100644 test/Modules/Inputs/system-out-of-date/X.h copy test/Modules/Inputs/{module-impl-with-link/foo.h => system-out-of-date/Y.h} (100%) create mode 100644 test/Modules/Inputs/system-out-of-date/Z.h create mode 100644 test/Modules/Inputs/system-out-of-date/module.map create mode 100644 test/Modules/Inputs/warning-mismatch/Mismatch.h create mode 100644 test/Modules/Inputs/warning-mismatch/System.h create mode 100644 test/Modules/Inputs/warning-mismatch/module.modulemap create mode 100644 test/Modules/outofdate-rebuild.m create mode 100644 test/Modules/system-out-of-date-test.m create mode 100644 test/Modules/warning-mismatch.m create mode 100644 unittests/Basic/MemoryBufferCacheTest.cpp