================
@@ -126,6 +130,47 @@ std::vector<SemanticTokensEdit> 
diffTokens(llvm::ArrayRef<SemanticToken> Before,
 // are not included.
 std::vector<Range> getInactiveRegions(ParsedAST &AST);
 
+
+// Whether T is const in a loose sense - is a variable with this type readonly?
+bool isConst(QualType T);
----------------
HighCommander4 wrote:

Part of my motivation in asking not to have these granular functions in 
`AST.h`, is to avoid having them in any header file. They should be able to 
live wherever the implementation that computes symbol tags lives, in this case 
`FindSymbols.cpp`.

https://github.com/llvm/llvm-project/pull/167536
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to