[cfe-commits] r125501 - in /cfe/trunk: include/clang/StaticAnalyzer/Core/AnalysisConsumer.h lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp lib/StaticAnalyzer/Frontend/AnalysisConsumer.h lib/StaticAnalyzer/Frontend/FrontendActions.cpp

Argyrios Kyrtzidis akyrtzi at gmail.com
Mon Feb 14 10:13:12 PST 2011


Author: akirtzidis
Date: Mon Feb 14 12:13:11 2011
New Revision: 125501

URL: http://llvm.org/viewvc/llvm-project?rev=125501&view=rev
Log:
[analyzer] Move include/clang/StaticAnalyzer/AnalysisConsumer.h -> lib/StaticAnalyzer/Frontend/AnalysisConsumer.h since
FrontendActions.cpp is the only user.

Added:
    cfe/trunk/lib/StaticAnalyzer/Frontend/AnalysisConsumer.h
      - copied, changed from r125500, cfe/trunk/include/clang/StaticAnalyzer/Core/AnalysisConsumer.h
Removed:
    cfe/trunk/include/clang/StaticAnalyzer/Core/AnalysisConsumer.h
Modified:
    cfe/trunk/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
    cfe/trunk/lib/StaticAnalyzer/Frontend/FrontendActions.cpp

Removed: cfe/trunk/include/clang/StaticAnalyzer/Core/AnalysisConsumer.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/StaticAnalyzer/Core/AnalysisConsumer.h?rev=125500&view=auto
==============================================================================
--- cfe/trunk/include/clang/StaticAnalyzer/Core/AnalysisConsumer.h (original)
+++ cfe/trunk/include/clang/StaticAnalyzer/Core/AnalysisConsumer.h (removed)
@@ -1,39 +0,0 @@
-//===--- 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

Modified: cfe/trunk/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp?rev=125501&r1=125500&r2=125501&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp Mon Feb 14 12:13:11 2011
@@ -11,7 +11,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "clang/StaticAnalyzer/Core/AnalysisConsumer.h"
+#include "AnalysisConsumer.h"
 #include "clang/AST/ASTConsumer.h"
 #include "clang/AST/Decl.h"
 #include "clang/AST/DeclCXX.h"

Copied: cfe/trunk/lib/StaticAnalyzer/Frontend/AnalysisConsumer.h (from r125500, cfe/trunk/include/clang/StaticAnalyzer/Core/AnalysisConsumer.h)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Frontend/AnalysisConsumer.h?p2=cfe/trunk/lib/StaticAnalyzer/Frontend/AnalysisConsumer.h&p1=cfe/trunk/include/clang/StaticAnalyzer/Core/AnalysisConsumer.h&r1=125500&r2=125501&rev=125501&view=diff
==============================================================================
    (empty)

Modified: cfe/trunk/lib/StaticAnalyzer/Frontend/FrontendActions.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Frontend/FrontendActions.cpp?rev=125501&r1=125500&r2=125501&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Frontend/FrontendActions.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Frontend/FrontendActions.cpp Mon Feb 14 12:13:11 2011
@@ -9,7 +9,7 @@
 
 #include "clang/StaticAnalyzer/Core/FrontendActions.h"
 #include "clang/Frontend/CompilerInstance.h"
-#include "clang/StaticAnalyzer/Core/AnalysisConsumer.h"
+#include "AnalysisConsumer.h"
 using namespace clang;
 using namespace ento;
 





More information about the cfe-commits mailing list