summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/GRExprEngineInternalChecks.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Analysis/GRExprEngineInternalChecks.h')
-rw-r--r--clang/lib/Analysis/GRExprEngineInternalChecks.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/clang/lib/Analysis/GRExprEngineInternalChecks.h b/clang/lib/Analysis/GRExprEngineInternalChecks.h
new file mode 100644
index 00000000000..622b5ab1108
--- /dev/null
+++ b/clang/lib/Analysis/GRExprEngineInternalChecks.h
@@ -0,0 +1,26 @@
+//=-- GRExprEngineInternalChecks.h- Builtin GRExprEngine Checks -----*- C++ -*-=
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file defines functions to instantiate and register the "built-in"
+// checks in GRExprEngine.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_CLANG_GREXPRENGINE_INTERNAL_CHECKS
+#define LLVM_CLANG_GREXPRENGINE_INTERNAL_CHECKS
+
+namespace clang {
+
+class GRExprEngine;
+
+void RegisterReturnStackAddressChecker(GRExprEngine &Eng);
+void RegisterReturnUndefChecker(GRExprEngine &Eng);
+
+} // end clang namespace
+#endif
OpenPOWER on IntegriCloud