diff options
| author | Ted Kremenek <kremenek@apple.com> | 2008-01-16 18:19:20 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2008-01-16 18:19:20 +0000 |
| commit | 7773c4fafdd55d414119ea6454352124ff04368c (patch) | |
| tree | fcc2c629df7e596170561fc23c375a081e802111 /clang | |
| parent | 2e12c2e79023e87aa93768e7cc10c6701697d5aa (diff) | |
| download | bcm5719-llvm-7773c4fafdd55d414119ea6454352124ff04368c.tar.gz bcm5719-llvm-7773c4fafdd55d414119ea6454352124ff04368c.zip | |
Add missing header file for GRConstants analysis.
llvm-svn: 46075
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/include/clang/Analysis/Analyses/GRConstants.h | 31 |
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 |

