clang API Documentation
Visitor which builds a LocalVariableMap. More...
Public Member Functions | |
VarMapBuilder (LocalVariableMap *VM, LocalVariableMap::Context C) | |
void | VisitDeclStmt (DeclStmt *S) |
void | VisitBinaryOperator (BinaryOperator *BO) |
Public Attributes | |
LocalVariableMap * | VMap |
LocalVariableMap::Context | Ctx |
Visitor which builds a LocalVariableMap.
Definition at line 498 of file ThreadSafety.cpp.
clang::threadSafety::VarMapBuilder::VarMapBuilder | ( | LocalVariableMap * | VM, |
LocalVariableMap::Context | C | ||
) | [inline] |
Definition at line 503 of file ThreadSafety.cpp.
Definition at line 532 of file ThreadSafety.cpp.
References clang::BO_Assign, clang::threadSafety::LocalVariableMap::clearDefinition(), Ctx, clang::BinaryOperator::getLHS(), clang::BinaryOperator::getOpcode(), clang::BinaryOperator::getRHS(), clang::Expr::IgnoreParenCasts(), clang::BinaryOperator::isAssignmentOp(), clang::threadSafety::LocalVariableMap::saveContext(), clang::threadSafety::LocalVariableMap::updateDefinition(), and VMap.
Definition at line 512 of file ThreadSafety.cpp.
References clang::threadSafety::LocalVariableMap::addDefinition(), Ctx, clang::DeclStmt::getDeclGroup(), clang::QualType::isTrivialType(), clang::threadSafety::LocalVariableMap::saveContext(), and VMap.
Definition at line 501 of file ThreadSafety.cpp.
Referenced by clang::threadSafety::LocalVariableMap::traverseCFG(), VisitBinaryOperator(), and VisitDeclStmt().
Definition at line 500 of file ThreadSafety.cpp.
Referenced by VisitBinaryOperator(), and VisitDeclStmt().