Change range-based for-loop to be -Wrange-loop-analysis clean.

No functionality change.

llvm-svn: 234965
This commit is contained in:
Richard Trieu 2015-04-15 01:21:57 +00:00
parent b58413323d
commit a60ca8104e
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ static std::vector<std::string> getAllConstructorUSRs(
const auto *RecordDecl = Decl->getDefinition();
// Iterate over all the constructors and add their USRs.
for (const auto &CtorDecl : RecordDecl->ctors())
for (const auto *CtorDecl : RecordDecl->ctors())
USRs.push_back(getUSRForDecl(CtorDecl));
// Ignore destructors. GetLocationsOfUSR will find the declaration of and