[cfe-commits] r125122 - in /cfe/trunk/lib/StaticAnalyzer: AnalyzerStatsChecker.cpp Checkers/AnalysisConsumer.cpp Checkers/CStringChecker.cpp Checkers/ChrootChecker.cpp Checkers/ExperimentalChecks.h Checkers/ExprEngineExperimentalChecks.cpp Checkers/ExprEngineExperimentalChecks.h Checkers/IdempotentOperationChecker.cpp Checkers/MallocChecker.cpp Checkers/PthreadLockChecker.cpp Checkers/StreamChecker.cpp Checkers/UnreachableCodeChecker.cpp

Argyrios Kyrtzidis akyrtzi at gmail.com
Tue Feb 8 14:30:11 PST 2011


Author: akirtzidis
Date: Tue Feb  8 16:30:11 2011
New Revision: 125122

URL: http://llvm.org/viewvc/llvm-project?rev=125122&view=rev
Log:
[analyzer] lib/StaticAnalyzer/Checkers/ExprEngineExperimentalChecks.h -> lib/StaticAnalyzer/Checkers/ExperimentalChecks.h

Added:
    cfe/trunk/lib/StaticAnalyzer/Checkers/ExperimentalChecks.h
      - copied, changed from r125121, cfe/trunk/lib/StaticAnalyzer/Checkers/ExprEngineExperimentalChecks.h
Removed:
    cfe/trunk/lib/StaticAnalyzer/Checkers/ExprEngineExperimentalChecks.h
Modified:
    cfe/trunk/lib/StaticAnalyzer/AnalyzerStatsChecker.cpp
    cfe/trunk/lib/StaticAnalyzer/Checkers/AnalysisConsumer.cpp
    cfe/trunk/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
    cfe/trunk/lib/StaticAnalyzer/Checkers/ChrootChecker.cpp
    cfe/trunk/lib/StaticAnalyzer/Checkers/ExprEngineExperimentalChecks.cpp
    cfe/trunk/lib/StaticAnalyzer/Checkers/IdempotentOperationChecker.cpp
    cfe/trunk/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
    cfe/trunk/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp
    cfe/trunk/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
    cfe/trunk/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp

Modified: cfe/trunk/lib/StaticAnalyzer/AnalyzerStatsChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/AnalyzerStatsChecker.cpp?rev=125122&r1=125121&r2=125122&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/AnalyzerStatsChecker.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/AnalyzerStatsChecker.cpp Tue Feb  8 16:30:11 2011
@@ -14,7 +14,7 @@
 #include "clang/StaticAnalyzer/BugReporter/BugReporter.h"
 
 // FIXME: Restructure checker registration.
-#include "Checkers/ExprEngineExperimentalChecks.h"
+#include "Checkers/ExperimentalChecks.h"
 
 #include "clang/Basic/SourceManager.h"
 #include "llvm/ADT/SmallPtrSet.h"

Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/AnalysisConsumer.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/AnalysisConsumer.cpp?rev=125122&r1=125121&r2=125122&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/AnalysisConsumer.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/AnalysisConsumer.cpp Tue Feb  8 16:30:11 2011
@@ -30,7 +30,7 @@
 #include "clang/StaticAnalyzer/PathDiagnosticClients.h"
 
 // FIXME: Restructure checker registration.
-#include "ExprEngineExperimentalChecks.h"
+#include "ExperimentalChecks.h"
 #include "InternalChecks.h"
 
 #include "clang/Basic/FileManager.h"

Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/CStringChecker.cpp?rev=125122&r1=125121&r2=125122&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/CStringChecker.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/CStringChecker.cpp Tue Feb  8 16:30:11 2011
@@ -12,7 +12,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "ExprEngineExperimentalChecks.h"
+#include "ExperimentalChecks.h"
 #include "clang/StaticAnalyzer/BugReporter/BugType.h"
 #include "clang/StaticAnalyzer/PathSensitive/CheckerVisitor.h"
 #include "clang/StaticAnalyzer/PathSensitive/GRStateTrait.h"

Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/ChrootChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/ChrootChecker.cpp?rev=125122&r1=125121&r2=125122&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/ChrootChecker.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/ChrootChecker.cpp Tue Feb  8 16:30:11 2011
@@ -11,7 +11,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "ExprEngineExperimentalChecks.h"
+#include "ExperimentalChecks.h"
 #include "clang/StaticAnalyzer/BugReporter/BugType.h"
 #include "clang/StaticAnalyzer/PathSensitive/CheckerVisitor.h"
 #include "clang/StaticAnalyzer/PathSensitive/GRState.h"

Copied: cfe/trunk/lib/StaticAnalyzer/Checkers/ExperimentalChecks.h (from r125121, cfe/trunk/lib/StaticAnalyzer/Checkers/ExprEngineExperimentalChecks.h)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/ExperimentalChecks.h?p2=cfe/trunk/lib/StaticAnalyzer/Checkers/ExperimentalChecks.h&p1=cfe/trunk/lib/StaticAnalyzer/Checkers/ExprEngineExperimentalChecks.h&r1=125121&r2=125122&rev=125122&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/ExprEngineExperimentalChecks.h (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/ExperimentalChecks.h Tue Feb  8 16:30:11 2011
@@ -1,4 +1,4 @@
-//=-- ExprEngineExperimentalChecks.h ------------------------------*- C++ -*-=
+//=-- ExperimentalChecks.h ----------------------------------------*- C++ -*-=//
 //
 //                     The LLVM Compiler Infrastructure
 //

Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/ExprEngineExperimentalChecks.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/ExprEngineExperimentalChecks.cpp?rev=125122&r1=125121&r2=125122&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/ExprEngineExperimentalChecks.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/ExprEngineExperimentalChecks.cpp Tue Feb  8 16:30:11 2011
@@ -1,4 +1,4 @@
-//=-- ExprEngineExperimentalChecks.h ------------------------------*- C++ -*-=
+//=-- ExperimentalChecks.h ----------------------------------------*- C++ -*-=//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -13,7 +13,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "InternalChecks.h"
-#include "ExprEngineExperimentalChecks.h"
+#include "ExperimentalChecks.h"
 #include "clang/StaticAnalyzer/Checkers/LocalCheckers.h"
 
 using namespace clang;

Removed: cfe/trunk/lib/StaticAnalyzer/Checkers/ExprEngineExperimentalChecks.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/ExprEngineExperimentalChecks.h?rev=125121&view=auto
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/ExprEngineExperimentalChecks.h (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/ExprEngineExperimentalChecks.h (removed)
@@ -1,37 +0,0 @@
-//=-- ExprEngineExperimentalChecks.h ------------------------------*- C++ -*-=
-//
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-//  This file defines functions to instantiate and register experimental
-//  checks in ExprEngine.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_GR_ExprEngine_EXPERIMENTAL_CHECKS
-#define LLVM_CLANG_GR_ExprEngine_EXPERIMENTAL_CHECKS
-
-namespace clang {
-
-namespace ento {
-
-class ExprEngine;
-
-void RegisterAnalyzerStatsChecker(ExprEngine &Eng);
-void RegisterChrootChecker(ExprEngine &Eng);
-void RegisterCStringChecker(ExprEngine &Eng);
-void RegisterIdempotentOperationChecker(ExprEngine &Eng);
-void RegisterMallocChecker(ExprEngine &Eng);
-void RegisterPthreadLockChecker(ExprEngine &Eng);
-void RegisterStreamChecker(ExprEngine &Eng);
-void RegisterUnreachableCodeChecker(ExprEngine &Eng);
-
-} // end GR namespace
-
-} // end clang namespace
-
-#endif

Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/IdempotentOperationChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/IdempotentOperationChecker.cpp?rev=125122&r1=125121&r2=125122&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/IdempotentOperationChecker.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/IdempotentOperationChecker.cpp Tue Feb  8 16:30:11 2011
@@ -42,7 +42,7 @@
 // - Finer grained false positive control (levels)
 // - Handling ~0 values
 
-#include "ExprEngineExperimentalChecks.h"
+#include "ExperimentalChecks.h"
 #include "clang/Analysis/CFGStmtMap.h"
 #include "clang/Analysis/Analyses/PseudoConstantAnalysis.h"
 #include "clang/StaticAnalyzer/BugReporter/BugReporter.h"

Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/MallocChecker.cpp?rev=125122&r1=125121&r2=125122&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/MallocChecker.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/MallocChecker.cpp Tue Feb  8 16:30:11 2011
@@ -12,7 +12,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "ExprEngineExperimentalChecks.h"
+#include "ExperimentalChecks.h"
 #include "clang/StaticAnalyzer/BugReporter/BugType.h"
 #include "clang/StaticAnalyzer/PathSensitive/CheckerVisitor.h"
 #include "clang/StaticAnalyzer/PathSensitive/GRState.h"

Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp?rev=125122&r1=125121&r2=125122&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp Tue Feb  8 16:30:11 2011
@@ -15,7 +15,7 @@
 #include "clang/StaticAnalyzer/PathSensitive/CheckerVisitor.h"
 #include "clang/StaticAnalyzer/BugReporter/BugReporter.h"
 #include "clang/StaticAnalyzer/PathSensitive/GRStateTrait.h"
-#include "ExprEngineExperimentalChecks.h"
+#include "ExperimentalChecks.h"
 #include "llvm/ADT/ImmutableSet.h"
 
 using namespace clang;

Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/StreamChecker.cpp?rev=125122&r1=125121&r2=125122&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/StreamChecker.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/StreamChecker.cpp Tue Feb  8 16:30:11 2011
@@ -11,7 +11,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "ExprEngineExperimentalChecks.h"
+#include "ExperimentalChecks.h"
 #include "clang/StaticAnalyzer/BugReporter/BugType.h"
 #include "clang/StaticAnalyzer/PathSensitive/CheckerVisitor.h"
 #include "clang/StaticAnalyzer/PathSensitive/GRState.h"

Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp?rev=125122&r1=125121&r2=125122&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp Tue Feb  8 16:30:11 2011
@@ -21,7 +21,7 @@
 #include "clang/StaticAnalyzer/PathSensitive/SVals.h"
 #include "clang/StaticAnalyzer/PathSensitive/CheckerHelpers.h"
 #include "clang/StaticAnalyzer/BugReporter/BugReporter.h"
-#include "ExprEngineExperimentalChecks.h"
+#include "ExperimentalChecks.h"
 #include "llvm/ADT/SmallPtrSet.h"
 
 // The number of CFGBlock pointers we want to reserve memory for. This is used





More information about the cfe-commits mailing list