summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-01-16 18:19:20 +0000
committerTed Kremenek <kremenek@apple.com>2008-01-16 18:19:20 +0000
commit7773c4fafdd55d414119ea6454352124ff04368c (patch)
treefcc2c629df7e596170561fc23c375a081e802111
parent2e12c2e79023e87aa93768e7cc10c6701697d5aa (diff)
downloadbcm5719-llvm-7773c4fafdd55d414119ea6454352124ff04368c.tar.gz
bcm5719-llvm-7773c4fafdd55d414119ea6454352124ff04368c.zip
Add missing header file for GRConstants analysis.
llvm-svn: 46075
-rw-r--r--clang/include/clang/Analysis/Analyses/GRConstants.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/clang/include/clang/Analysis/Analyses/GRConstants.h b/clang/include/clang/Analysis/Analyses/GRConstants.h
new file mode 100644
index 00000000000..7192bdc0b4a
--- /dev/null
+++ b/clang/include/clang/Analysis/Analyses/GRConstants.h
@@ -0,0 +1,31 @@
+//===-- GRConstants.h- Simple, Path-Sens. Constant Prop. ---------*- C++ -*-==//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// Constant Propagation via Graph Reachability
+//
+// This files defines the interface to use the 'GRConstants' path-sensitive
+// constant-propagation analysis.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_CLANG_GRCONSTANTS
+#define LLVM_CLANG_GRCONSTANTS
+
+namespace clang {
+
+ /// RunGRConstants - This is a simple driver to run the GRConstants analysis
+ /// on a provided CFG. This interface will eventually be replaced with
+ /// something more elaborate as the requirements on the interface become
+ /// clearer.
+ void RunGRConstants(CFG& cfg);
+
+} // end clang namespace
+
+
+#endif
OpenPOWER on IntegriCloud