[PATCH] D112608: [clangd] IncludeCleaner: Do not process locations in built-in files

Kirill Bobyrev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 27 10:31:30 PDT 2021


kbobyrev added inline comments.


================
Comment at: clang-tools-extra/clangd/unittests/IncludeCleanerTests.cpp:245
 
+    int y = CLI;
+
----------------
kadircet wrote:
> you can change this to `int y = CLI + __llvm__` to explicitly check for both CLI and built-in macros.
Ahh, that's a nice built-in! Thank you!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112608



More information about the cfe-commits mailing list