[PATCH] D17805: [clang-tidy] Fix an assertion failure of "SLocEntry::getExpansion()" when IncludeInserter handles macro header file.

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 2 06:11:00 PST 2016


alexfh accepted this revision.
alexfh added a comment.
This revision is now accepted and ready to land.

Looks good! Thank you for finding and fixing this!


================
Comment at: clang-tidy/utils/IncludeInserter.cpp:23
@@ -21,3 +22,3 @@
   void InclusionDirective(SourceLocation HashLocation,
-                          const Token & /*include_token*/,
+                          const Token & IncludeToken,
                           StringRef FileNameRef, bool IsAngled,
----------------
clang-format, please.


Repository:
  rL LLVM

http://reviews.llvm.org/D17805





More information about the cfe-commits mailing list