clang  6.0.0svn
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/AnalysisDeclContext.h"
#include "clang/Analysis/CFG.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/PostOrderIterator.h"
#include "llvm/ADT/PriorityQueue.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

◆ AddLiveStmt()

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

Definition at line 240 of file LiveVariables.cpp.

◆ FindVA()

static const VariableArrayType* FindVA ( QualType  Ty)
static

Definition at line 210 of file LiveVariables.cpp.

References clang::QualType::getTypePtr().

◆ getImpl()

static LiveVariablesImpl& getImpl ( void *  x)
static

◆ isAlwaysAlive()

static bool isAlwaysAlive ( const VarDecl D)
static

Definition at line 166 of file LiveVariables.cpp.

References clang::VarDecl::hasGlobalStorage().

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

◆ LookThroughStmt()

static const Stmt* LookThroughStmt ( const Stmt S)
static

Definition at line 223 of file LiveVariables.cpp.