]> granicus.if.org Git - clang/commitdiff
Rename header file.
authorTed Kremenek <kremenek@apple.com>
Fri, 14 Nov 2008 01:14:18 +0000 (01:14 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 14 Nov 2008 01:14:18 +0000 (01:14 +0000)
Update include files.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59284 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/Analyses/LiveVariables.h
include/clang/Analysis/Analyses/UninitializedValues.h
include/clang/Analysis/Support/BlkExprDeclBitVector.h [moved from include/clang/Analysis/Support/ExprDeclBitVector.h with 100% similarity]
lib/Analysis/LiveVariables.cpp
lib/Analysis/UninitializedValues.cpp

index 6571c73ab7230c1022c9d49665dd77701dea880f..451e202dd2805c6eeba6d43dd506a832603ff5c4 100644 (file)
@@ -15,7 +15,7 @@
 #define LLVM_CLANG_LIVEVARIABLES_H
 
 #include "clang/AST/Decl.h"
-#include "clang/Analysis/Support/ExprDeclBitVector.h"
+#include "clang/Analysis/Support/BlkExprDeclBitVector.h"
 #include "clang/Analysis/FlowSensitive/DataflowValues.h"
 
 namespace clang {
@@ -29,14 +29,14 @@ struct LiveVariables_ValueTypes {
   struct ObserverTy;
 
   // We keep dataflow state for declarations and block-level expressions;
-  typedef ExprDeclBitVector_Types::ValTy ValTy;
+  typedef StmtDeclBitVector_Types::ValTy ValTy;
 
   // We need to keep track of both declarations and CFGBlock-level expressions,
   // (so that we don't explore such expressions twice).  We also want
   // to compute liveness information for block-level expressions, since these
   // act as "temporary" values.
   
-  struct AnalysisDataTy : public ExprDeclBitVector_Types::AnalysisDataTy {
+  struct AnalysisDataTy : public StmtDeclBitVector_Types::AnalysisDataTy {
     ObserverTy* Observer;
     ValTy AlwaysLive;
     
index ea7bd147794366b0a5638aac2b1a15a841541877..33205d0eb286b93a2f71310a2c933950957db21f 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef LLVM_CLANG_UNITVALS_H
 #define LLVM_CLANG_UNITVALS_H
 
-#include "clang/Analysis/Support/ExprDeclBitVector.h"
+#include "clang/Analysis/Support/BlkExprDeclBitVector.h"
 #include "clang/Analysis/FlowSensitive/DataflowValues.h"
 
 namespace clang {
@@ -33,7 +33,7 @@ public:
 
   struct ObserverTy;
   
-  struct AnalysisDataTy : public ExprDeclBitVector_Types::AnalysisDataTy {    
+  struct AnalysisDataTy : public StmtDeclBitVector_Types::AnalysisDataTy {    
     AnalysisDataTy() : Observer(NULL), FullUninitTaint(true) {}
     virtual ~AnalysisDataTy() {};
     
@@ -41,7 +41,7 @@ public:
     bool FullUninitTaint;
   };
   
-  typedef ExprDeclBitVector_Types::ValTy ValTy;
+  typedef StmtDeclBitVector_Types::ValTy ValTy;
   
   //===--------------------------------------------------------------------===//
   // ObserverTy - Observer for querying DeclRefExprs that use an uninitalized
index 03a4bc7eb1020dfbfd830367e11bd830117b18b6..98b1ee282096af11cec260fce251541cf25acae2 100644 (file)
@@ -276,11 +276,11 @@ void TransferFuncs::VisitDeclStmt(DeclStmt* DS) {
 namespace {
 
 struct Merge {
-  typedef ExprDeclBitVector_Types::ValTy ValTy; 
+  typedef StmtDeclBitVector_Types::ValTy ValTy; 
     
   void operator()(ValTy& Dst, const ValTy& Src) {
     Dst.OrDeclBits(Src);
-    Dst.AndExprBits(Src);
+    Dst.AndBlkExprBits(Src);
   }
 };
   
index 0e4a387620d4c691fb2997eed49d03b56ab3f4da..b673713bb35613aceeedca9c911ce78912f5580d 100644 (file)
@@ -65,7 +65,7 @@ public:
   
   void SetTopValue(UninitializedValues::ValTy& X) {
     X.setDeclValues(AD);
-    X.resetExprValues(AD);
+    X.resetBlkExprValues(AD);
   }
     
   bool VisitDeclRefExpr(DeclRefExpr* DR);
@@ -251,7 +251,7 @@ bool TransferFuncs::BlockStmt_VisitExpr(Expr* E) {
 //===----------------------------------------------------------------------===//      
 
 namespace {
-  typedef ExprDeclBitVector_Types::Union Merge;
+  typedef StmtDeclBitVector_Types::Union Merge;
   typedef DataflowSolver<UninitializedValues,TransferFuncs,Merge> Solver;
 }