forked from OSchip/llvm-project
[clang-tidy] Silence unused variable warning in Release builds. NFCI.
ExpandModularHeadersPPCallbacks.cpp:55:15: warning: unused variable 'FileEntry' for (auto FileEntry : FilesToRecord) ^
This commit is contained in:
parent
d6ab0474c6
commit
26750a1264
|
@ -52,9 +52,11 @@ public:
|
|||
/// Makes sure we have contents for all the files we were interested in. Ideally
|
||||
/// `FilesToRecord` should be empty.
|
||||
void checkAllFilesRecorded() {
|
||||
for (auto FileEntry : FilesToRecord)
|
||||
LLVM_DEBUG(llvm::dbgs() << "Did not record contents for input file: "
|
||||
<< FileEntry->getName() << "\n");
|
||||
LLVM_DEBUG({
|
||||
for (auto FileEntry : FilesToRecord)
|
||||
llvm::dbgs() << "Did not record contents for input file: "
|
||||
<< FileEntry->getName() << "\n";
|
||||
});
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in New Issue