diff options
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-02-14 18:13:11 +0000 |
|---|---|---|
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-02-14 18:13:11 +0000 |
| commit | 2ef5f3c1c5b09b135eec7ff1986feb829652e0ed (patch) | |
| tree | 700ca0380629abd4644e148556095f6cbe7f9015 /clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.h | |
| parent | ae92c95d349b7edb8f21cb6276a7fd63accfc338 (diff) | |
| download | bcm5719-llvm-2ef5f3c1c5b09b135eec7ff1986feb829652e0ed.tar.gz bcm5719-llvm-2ef5f3c1c5b09b135eec7ff1986feb829652e0ed.zip | |
[analyzer] Move include/clang/StaticAnalyzer/AnalysisConsumer.h -> lib/StaticAnalyzer/Frontend/AnalysisConsumer.h since
FrontendActions.cpp is the only user.
llvm-svn: 125501
Diffstat (limited to 'clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.h')
| -rw-r--r-- | clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.h b/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.h new file mode 100644 index 00000000000..86f6c727a4b --- /dev/null +++ b/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.h @@ -0,0 +1,39 @@ +//===--- AnalysisConsumer.h - Front-end Analysis Engine Hooks ---*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This header contains the functions necessary for a front-end to run various +// analyses. +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_CLANG_GR_ANALYSISCONSUMER_H +#define LLVM_CLANG_GR_ANALYSISCONSUMER_H + +#include <string> + +namespace clang { + +class AnalyzerOptions; +class ASTConsumer; +class Preprocessor; + +namespace ento { + +/// CreateAnalysisConsumer - Creates an ASTConsumer to run various code +/// analysis passes. (The set of analyses run is controlled by command-line +/// options.) +ASTConsumer* CreateAnalysisConsumer(const Preprocessor &pp, + const std::string &output, + const AnalyzerOptions& Opts); + +} // end GR namespace + +} // end clang namespace + +#endif |

