Commit a2bf4726 authored by Marco Bubke's avatar Marco Bubke
Browse files

Clang: Fix naming



Change-Id: Ibf82e92d2c29395e739afcdbe181595e0a3ed012
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent b239f7aa
...@@ -59,7 +59,7 @@ public: ...@@ -59,7 +59,7 @@ public:
auto declarationUSR = USROfDeclaration(declaration); auto declarationUSR = USROfDeclaration(declaration);
if (containsUSR(declarationUSR)) if (containsUSR(declarationUSR))
LocationsFound.push_back(declaration->getLocation()); foundLocations.push_back(declaration->getLocation());
return true; return true;
} }
...@@ -71,7 +71,7 @@ public: ...@@ -71,7 +71,7 @@ public:
auto declarationUSR = USROfDeclaration(declaration); auto declarationUSR = USROfDeclaration(declaration);
if (containsUSR(declarationUSR)) if (containsUSR(declarationUSR))
LocationsFound.push_back(expression->getLocation()); foundLocations.push_back(expression->getLocation());
return true; return true;
} }
...@@ -81,7 +81,7 @@ public: ...@@ -81,7 +81,7 @@ public:
auto declarationUSR = USROfDeclaration(declaration); auto declarationUSR = USROfDeclaration(declaration);
if (containsUSR(declarationUSR)) if (containsUSR(declarationUSR))
LocationsFound.push_back(expression->getMemberLoc()); foundLocations.push_back(expression->getMemberLoc());
return true; return true;
} }
...@@ -92,7 +92,7 @@ public: ...@@ -92,7 +92,7 @@ public:
} }
std::vector<clang::SourceLocation> takeFoundLocations() const { std::vector<clang::SourceLocation> takeFoundLocations() const {
return std::move(LocationsFound); return std::move(foundLocations);
} }
private: private:
...@@ -100,7 +100,7 @@ private: ...@@ -100,7 +100,7 @@ private:
while (nameLocation) { while (nameLocation) {
const auto *declaration = nameLocation.getNestedNameSpecifier()->getAsNamespace(); const auto *declaration = nameLocation.getNestedNameSpecifier()->getAsNamespace();
if (declaration && containsUSR(USROfDeclaration(declaration))) if (declaration && containsUSR(USROfDeclaration(declaration)))
LocationsFound.push_back(nameLocation.getLocalBeginLoc()); foundLocations.push_back(nameLocation.getLocalBeginLoc());
nameLocation = nameLocation.getPrefix(); nameLocation = nameLocation.getPrefix();
} }
...@@ -117,7 +117,7 @@ private: ...@@ -117,7 +117,7 @@ private:
// All the locations of the USR were found. // All the locations of the USR were found.
std::vector<USRName> unifiedSymbolResolutions; std::vector<USRName> unifiedSymbolResolutions;
std::vector<clang::SourceLocation> LocationsFound; std::vector<clang::SourceLocation> foundLocations;
}; };
inline inline
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment