Cppcheck
|
Classes | |
struct | Decl |
Public Member Functions | |
void | enumDecl (const std::string &addr, Token *nameToken, Enumerator *enumerator) |
void | funcDecl (const std::string &addr, Token *nameToken, Function *function) |
void | scopeDecl (const std::string &addr, Scope *scope) |
void | varDecl (const std::string &addr, Token *def, Variable *var) |
void | replaceVarDecl (const Variable *from, Variable *to) |
void | ref (const std::string &addr, Token *tok) |
std::vector< const Variable * > | getVariableList () const |
bool | hasDecl (const std::string &addr) const |
const Scope * | getScope (const std::string &addr) |
Public Attributes | |
const Settings * | mSettings = nullptr |
SymbolDatabase * | mSymbolDatabase = nullptr |
int | enumValue = 0 |
std::set< Token * > | mNotScope |
std::map< const Scope *, AccessControl > | scopeAccessControl |
Private Member Functions | |
void | notFound (const std::string &addr) |
Private Attributes | |
std::map< std::string, Decl > | mDeclMap |
std::map< std::string, std::vector< Token * > > | mNotFound |
int | mVarId = 0 |
Definition at line 207 of file clangimport.cpp.
|
inline |
Definition at line 235 of file clangimport.cpp.
References Token::enumerator(), mDeclMap, and notFound().
|
inline |
Definition at line 242 of file clangimport.cpp.
References Token::function(), mDeclMap, and notFound().
|
inline |
Definition at line 294 of file clangimport.cpp.
References mDeclMap.
|
inline |
Definition at line 280 of file clangimport.cpp.
References mDeclMap, and mVarId.
Referenced by clangimport::parseClangAstDump().
|
inline |
Definition at line 290 of file clangimport.cpp.
References mDeclMap.
|
inlineprivate |
Definition at line 304 of file clangimport.cpp.
References mNotFound, and ref().
Referenced by enumDecl(), funcDecl(), and varDecl().
|
inline |
Definition at line 272 of file clangimport.cpp.
References mDeclMap, and mNotFound.
Referenced by notFound().
Definition at line 264 of file clangimport.cpp.
References mDeclMap, and clangimport::Data::Decl::var.
|
inline |
Definition at line 249 of file clangimport.cpp.
References mDeclMap.
Definition at line 254 of file clangimport.cpp.
References mDeclMap, mVarId, notFound(), Variable::setValueType(), Token::valueType(), Token::variable(), and Token::varId().
int clangimport::Data::enumValue = 0 |
Definition at line 233 of file clangimport.cpp.
|
private |
Definition at line 313 of file clangimport.cpp.
Referenced by enumDecl(), funcDecl(), getScope(), getVariableList(), hasDecl(), ref(), replaceVarDecl(), scopeDecl(), and varDecl().
|
private |
Definition at line 314 of file clangimport.cpp.
Referenced by notFound(), and ref().
std::set<Token *> clangimport::Data::mNotScope |
Definition at line 300 of file clangimport.cpp.
Referenced by clangimport::AstNode::createTokens1().
const Settings* clangimport::Data::mSettings = nullptr |
Definition at line 230 of file clangimport.cpp.
Referenced by clangimport::parseClangAstDump().
SymbolDatabase* clangimport::Data::mSymbolDatabase = nullptr |
Definition at line 231 of file clangimport.cpp.
Referenced by clangimport::parseClangAstDump().
|
private |
Definition at line 315 of file clangimport.cpp.
Referenced by getVariableList(), and varDecl().
std::map<const Scope *, AccessControl> clangimport::Data::scopeAccessControl |
Definition at line 302 of file clangimport.cpp.