summaryrefslogtreecommitdiff
path: root/include/clang/Basic/DiagnosticGroups.td
diff options
context:
space:
mode:
authorGabor Marton <martongabesz@gmail.com>2019-04-01 14:46:53 +0000
committerGabor Marton <martongabesz@gmail.com>2019-04-01 14:46:53 +0000
commit20e5220f748b7df5df639d53eb5934165c544b2c (patch)
tree418629fb54a692e6e6e77401d14c82c20febc16e /include/clang/Basic/DiagnosticGroups.td
parentc0876c1cbb17e5ecfffa8cc74e2f80fc47a94185 (diff)
downloadclang-20e5220f748b7df5df639d53eb5934165c544b2c.tar.gz
[ASTImporter] Make ODR error handling configurable
Summary: ODR errors are not necessarily true errors during the import of ASTs. ASTMerge and CrossTU should use the warning equivalent of every CTU error, while Sema should emit errors as before. Reviewers: martong, a_sidorin, shafik, a.sidorin Reviewed By: a_sidorin Subscribers: rnkovacs, dkrupp, Szelethus, jdoerfert, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D58897 Patch by Endre Fulop! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@357394 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticGroups.td')
-rw-r--r--include/clang/Basic/DiagnosticGroups.td1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticGroups.td b/include/clang/Basic/DiagnosticGroups.td
index 1e2336a962..d11bf58acd 100644
--- a/include/clang/Basic/DiagnosticGroups.td
+++ b/include/clang/Basic/DiagnosticGroups.td
@@ -16,6 +16,7 @@ def Implicit : DiagGroup<"implicit", [
]>;
// Empty DiagGroups are recognized by clang but ignored.
+def ODR : DiagGroup<"odr">;
def : DiagGroup<"abi">;
def AbsoluteValue : DiagGroup<"absolute-value">;
def AddressOfTemporary : DiagGroup<"address-of-temporary">;