[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:10 PDT 2023


================
@@ -91,6 +91,10 @@ StringRef getExtendedText(const T &Node, tok::TokenKind Next,
 llvm::Error validateEditRange(const CharSourceRange &Range,
                               const SourceManager &SM);
 
+/// Determines whether \p Range is one that can be read from.
+llvm::Error validateRange(const CharSourceRange &Range, const SourceManager &SM,
+                          bool AllowSystemHeaders);
----------------
legrosbuffle wrote:

done

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


More information about the cfe-commits mailing list