File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ class TuIndexer final {
244
244
245
245
private:
246
246
std::pair<FileLocalSourceRange, clang::FileID>
247
- getTokenExpansionRange (clang::SourceLocation startLoc ) const ;
247
+ getTokenExpansionRange (clang::SourceLocation startExpansionLoc ) const ;
248
248
249
249
void saveReference (std::string_view symbol, clang::SourceLocation loc,
250
250
int32_t extraRoles = 0 );
@@ -264,6 +264,9 @@ class TuIndexer final {
264
264
// / Returns a \c PartialDocument reference so that \c scip::SymbolInformation
265
265
// / can be added into the document for definitions. Prefer using
266
266
// / \c saveDefinition or \c saveReference over this method.
267
+ // /
268
+ // / This method should not be called for occurrences in external files,
269
+ // / since SCIP only tracks SymbolInformation values in external code.
267
270
PartialDocument &saveOccurrence (std::string_view symbol,
268
271
clang::SourceLocation loc,
269
272
int32_t allRoles = 0 );
You can’t perform that action at this time.
0 commit comments