]> granicus.if.org Git - clang/commit
Improve diagnostics for config mismatches with -fmodule-file.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 24 May 2018 20:03:51 +0000 (20:03 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 24 May 2018 20:03:51 +0000 (20:03 +0000)
commit13c1a496d7a9266040b50fcc5aaee0e73e9300dc
tree39d1e23ccd0854cf152ef00b4ddab4ce7800a9be
parentd3db35d0e2c21c4761bbc8d77dd608273cd095b0
Improve diagnostics for config mismatches with -fmodule-file.

Unless the user uses -Wno-module-file-config-mismatch (or -Wno-error=...),
allow the AST reader to produce errors describing the nature of the config
mismatch.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@333220 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSerializationKinds.td
lib/Frontend/CompilerInstance.cpp
test/Modules/check-for-sanitizer-feature.cpp
test/Modules/merge-target-features.cpp