aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic/DiagnosticAnalysisKinds.def
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Basic/DiagnosticAnalysisKinds.def')
-rw-r--r--include/clang/Basic/DiagnosticAnalysisKinds.def16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticAnalysisKinds.def b/include/clang/Basic/DiagnosticAnalysisKinds.def
new file mode 100644
index 0000000000..17897ed90f
--- /dev/null
+++ b/include/clang/Basic/DiagnosticAnalysisKinds.def
@@ -0,0 +1,16 @@
+//==--- DiagnosticAnalysisKinds.def - libanalysis diagnostics ---*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifdef ANALYSISSTART
+__ANALYSISSTART = DIAG_START_ANALYSIS,
+#undef ANALYSISSTART
+#endif
+
+// CHECK: use of uninitialized values
+DIAG(warn_uninit_val, WARNING, "use of uninitialized variable")