clang  3.9.0
Functions
LiveVariables.cpp File Reference
#include "clang/Analysis/Analyses/LiveVariables.h"
#include "clang/AST/Stmt.h"
#include "clang/AST/StmtVisitor.h"
#include "clang/Analysis/Analyses/PostOrderCFGView.h"
#include "clang/Analysis/AnalysisContext.h"
#include "clang/Analysis/CFG.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/PostOrderIterator.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <vector>
Include dependency graph for LiveVariables.cpp:

Go to the source code of this file.

Functions

static LiveVariablesImpl & getImpl (void *x)
 
static bool isAlwaysAlive (const VarDecl *D)
 
static const VariableArrayTypeFindVA (QualType Ty)
 
static const StmtLookThroughStmt (const Stmt *S)
 
static void AddLiveStmt (llvm::ImmutableSet< const Stmt * > &Set, llvm::ImmutableSet< const Stmt * >::Factory &F, const Stmt *S)
 

Function Documentation

static void AddLiveStmt ( llvm::ImmutableSet< const Stmt * > &  Set,
llvm::ImmutableSet< const Stmt * >::Factory &  F,
const Stmt S 
)
static

Definition at line 247 of file LiveVariables.cpp.

References LookThroughStmt().

static const VariableArrayType* FindVA ( QualType  Ty)
static

Definition at line 217 of file LiveVariables.cpp.

References clang::QualType::getTypePtr().

static LiveVariablesImpl& getImpl ( void *  x)
static
static bool isAlwaysAlive ( const VarDecl D)
static

Definition at line 173 of file LiveVariables.cpp.

References clang::VarDecl::hasGlobalStorage().

Referenced by clang::LiveVariables::isLive().

static const Stmt* LookThroughStmt ( const Stmt S)
static

Definition at line 230 of file LiveVariables.cpp.

References S.

Referenced by AddLiveStmt().