[PATCH] D67501: [clang-tidy] Fix relative path in header-filter.

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 20 02:08:26 PDT 2019


MyDeveloperDay added inline comments.


================
Comment at: clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp:555
+  StringRef FileName = File->tryGetRealPathName();
+  if (FileName.empty()) {
+    FileName = File->getName();
----------------
elide the {}


Repository:
  rCTE Clang Tools Extra

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67501/new/

https://reviews.llvm.org/D67501





More information about the cfe-commits mailing list