summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/DiagnosticLexKinds.td
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-06-10 06:09:00 +0000
committerAlp Toker <alp@nuanti.com>2014-06-10 06:09:00 +0000
commit340c8060cec0d89a83189268af6f2d2e696f81f7 (patch)
tree9aaa4d076fea5ba4cb7f3cb6a12e64673d3fa77e /include/clang/Basic/DiagnosticLexKinds.td
parent51debf8bd31895e35af16d23d508ab1a410c0ca3 (diff)
Show -Wdate-time in system headers
Anyone enabling this warning would expect to hear about all occurrences including those in system headers that can cause non-reproducible builds. To achieve this, rework ShowInSystemHeader to remove broken unused mapping code that didn't make sense with a simpler and correct scheme. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210512 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticLexKinds.td')
-rw-r--r--include/clang/Basic/DiagnosticLexKinds.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Basic/DiagnosticLexKinds.td b/include/clang/Basic/DiagnosticLexKinds.td
index 0ccc1de747..88b4da5d37 100644
--- a/include/clang/Basic/DiagnosticLexKinds.td
+++ b/include/clang/Basic/DiagnosticLexKinds.td
@@ -544,7 +544,7 @@ def err_pp_eof_in_arc_cf_code_audited : Error<
def warn_pp_date_time : Warning<
"expansion of date or time macro is not reproducible">,
- DefaultIgnore, InGroup<DiagGroup<"date-time">>;
+ DefaultWarnShowInSystemHeader, DefaultIgnore, InGroup<DiagGroup<"date-time">>;
// Module map parsing
def err_mmap_unknown_token : Error<"skipping stray token">;