clang-tools  14.0.0git
Namespaces | Functions | Variables
RedundantBranchConditionCheck.cpp File Reference
#include "RedundantBranchConditionCheck.h"
#include "../utils/Aliasing.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Analysis/Analyses/ExprMutationAnalyzer.h"
#include "clang/Lex/Lexer.h"
Include dependency graph for RedundantBranchConditionCheck.cpp:

Go to the source code of this file.

Namespaces

 clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
 clang::tidy
 
 clang::tidy::bugprone
 

Functions

static bool clang::tidy::bugprone::isChangedBefore (const Stmt *S, const Stmt *NextS, const Stmt *PrevS, const VarDecl *Var, ASTContext *Context)
 Returns whether Var is changed in range (PrevS..NextS). More...
 

Variables

static const char clang::tidy::bugprone::CondVarStr [] = "cond_var"
 
static const char clang::tidy::bugprone::OuterIfStr [] = "outer_if"
 
static const char clang::tidy::bugprone::InnerIfStr [] = "inner_if"
 
static const char clang::tidy::bugprone::OuterIfVar1Str [] = "outer_if_var1"
 
static const char clang::tidy::bugprone::OuterIfVar2Str [] = "outer_if_var2"
 
static const char clang::tidy::bugprone::InnerIfVar1Str [] = "inner_if_var1"
 
static const char clang::tidy::bugprone::InnerIfVar2Str [] = "inner_if_var2"
 
static const char clang::tidy::bugprone::FuncStr [] = "func"