[clang-tools-extra] LSP 3.18 - Symbol Tags (PR #167536)
Nathan Ridge via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 13 23:12:09 PST 2026
================
@@ -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
More information about the cfe-commits
mailing list