[clang] [clang-transformer] Allow stencils to read from system headers. (PR #66480)

Clement Courbet via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 15 05:44:07 PDT 2023


================
@@ -230,7 +230,7 @@ class SelectorStencil : public StencilInterface {
       // message. If it's valid, then something else is the cause and we just
       // return the generic failure message.
       if (auto Err =
-              tooling::validateEditRange(*RawRange, *Match.SourceManager))
+              tooling::validateRange(*RawRange, *Match.SourceManager, true))
----------------
legrosbuffle wrote:

done

https://github.com/llvm/llvm-project/pull/66480


More information about the cfe-commits mailing list