aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Index/USRGeneration.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-09-03 23:27:27 -0700
committerKazu Hirata <kazu@google.com>2022-09-03 23:27:27 -0700
commitb7a7aeee90cffefd0f73b8d9f44ab4d1d5123d05 (patch)
treeab50ad34ab30dd24a5aa33bf3793da0b474bb8e4 /clang/lib/Index/USRGeneration.cpp
parent7d8c2d17eb3c1631ce33f1497a6d9ca76bfbfd44 (diff)
downloadllvm-b7a7aeee90cffefd0f73b8d9f44ab4d1d5123d05.zip
llvm-b7a7aeee90cffefd0f73b8d9f44ab4d1d5123d05.tar.gz
llvm-b7a7aeee90cffefd0f73b8d9f44ab4d1d5123d05.tar.bz2
[clang] Qualify auto in range-based for loops (NFC)
Diffstat (limited to 'clang/lib/Index/USRGeneration.cpp')
-rw-r--r--clang/lib/Index/USRGeneration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Index/USRGeneration.cpp b/clang/lib/Index/USRGeneration.cpp
index a206642..c112005 100644
--- a/clang/lib/Index/USRGeneration.cpp
+++ b/clang/lib/Index/USRGeneration.cpp
@@ -258,7 +258,7 @@ void USRGenerator::VisitFunctionDecl(const FunctionDecl *D) {
}
// Mangle in type information for the arguments.
- for (auto PD : D->parameters()) {
+ for (auto *PD : D->parameters()) {
Out << '#';
VisitType(PD->getType());
}