[PATCH] D74669: [clang-tidy] New check: misc-no-include-cpp
Jonathan Roelofs via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Feb 16 08:30:28 PST 2020
jroelofs marked an inline comment as done.
jroelofs added inline comments.
================
Comment at: clang-tools-extra/clang-tidy/bugprone/SuspiciousIncludeCheck.cpp:59
+ Optional<FileEntryRef> File = PP->LookupFile(
+ HashLoc /* FIXME: lies */, (FileName + RE).str(), IsAngled, nullptr,
+ nullptr, CurDir, nullptr, nullptr, nullptr, nullptr, nullptr);
----------------
FIXME: is this a reasonable `SourceLocation` to give to `LookupFile`?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74669/new/
https://reviews.llvm.org/D74669
More information about the cfe-commits
mailing list