aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/FrontendActions.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/Frontend/FrontendActions.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/Frontend/FrontendActions.cpp')
-rw-r--r--clang/lib/Frontend/FrontendActions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/FrontendActions.cpp b/clang/lib/Frontend/FrontendActions.cpp
index f833541..cff61d7 100644
--- a/clang/lib/Frontend/FrontendActions.cpp
+++ b/clang/lib/Frontend/FrontendActions.cpp
@@ -920,12 +920,12 @@ void DumpModuleInfoAction::ExecuteAction() {
if (Primary) {
if (!Primary->submodules().empty())
Out << " Sub Modules:\n";
- for (auto MI : Primary->submodules()) {
+ for (auto *MI : Primary->submodules()) {
PrintSubMapEntry(MI->Name, MI->Kind);
}
if (!Primary->Imports.empty())
Out << " Imports:\n";
- for (auto IMP : Primary->Imports) {
+ for (auto *IMP : Primary->Imports) {
PrintSubMapEntry(IMP->Name, IMP->Kind);
}
if (!Primary->Exports.empty())