logic: improved c++ indexer coverage
* revised check for visiting a referenced type or decl * calling client->onFileParsed everytime a file gets processed by the Preprocessor so we can create valid locations in that file * created test for detecting a usage of a member inside a CallExpression context * added method to consume a context based reference kind in the AstVisitor
This commit is contained in:
@@ -122,7 +122,7 @@ public:
|
||||
|
||||
virtual void onFileParsed(const FileInfo& fileInfo)
|
||||
{
|
||||
files.push_back(fileInfo.path.str());
|
||||
files.insert(fileInfo.path.str());
|
||||
}
|
||||
|
||||
virtual void onCommentParsed(const ParseLocation& location)
|
||||
@@ -148,7 +148,7 @@ public:
|
||||
std::vector<std::string> templateParameterTypes;
|
||||
std::vector<std::string> typeParameters;
|
||||
std::vector<std::string> localSymbols;
|
||||
std::vector<std::string> files;
|
||||
std::set<std::string> files;
|
||||
std::vector<std::string> comments;
|
||||
|
||||
std::vector<std::string> inheritances;
|
||||
|
||||
Reference in New Issue
Block a user