diff options
author | Chris Lattner <sabre@nondot.org> | 2002-07-27 01:12:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-07-27 01:12:15 +0000 |
commit | 97f51a3024a72ef8500e95b90e6361e6783160fd (patch) | |
tree | 4fab9417a9dc40dd475d7503281ef4e1c3a545d9 /include/llvm/Analysis/FindUnsafePointerTypes.h | |
parent | 9a740fdf2165e263da98480d9c24f1803f94ef0c (diff) |
* Standardize how analysis results/passes as printed with the print() virtual
methods
* Eliminate AnalysisID: Now it is just a typedef for const PassInfo*
* Simplify how AnalysisID's are initialized
* Eliminate Analysis/Writer.cpp/.h: incorporate printing functionality into
the analyses themselves.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3115 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/FindUnsafePointerTypes.h')
-rw-r--r-- | include/llvm/Analysis/FindUnsafePointerTypes.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/llvm/Analysis/FindUnsafePointerTypes.h b/include/llvm/Analysis/FindUnsafePointerTypes.h index 038d7639c3..59fc78e3f7 100644 --- a/include/llvm/Analysis/FindUnsafePointerTypes.h +++ b/include/llvm/Analysis/FindUnsafePointerTypes.h @@ -39,10 +39,9 @@ public: // virtual bool run(Module &M); - // printResults - Loop over the results of the analysis, printing out unsafe - // types. + // print - Loop over the results of the analysis, printing out unsafe types. // - void printResults(const Module *Mod, std::ostream &o) const; + void print(std::ostream &o, const Module *Mod) const; // getAnalysisUsage - Of course, we provide ourself... // |