rename recordCommentLocation to recordAtomicSourceRange
This is done because the feature can be useful for all kind of multi-line symbols that should not be split being part of a code snippet.
This commit is contained in:
@@ -58,8 +58,8 @@ int main(int argc, const char *argv[])
|
||||
dbWriter.recordFileLanguage(fileId, "cpp"); // record file language for syntax highlighting
|
||||
|
||||
|
||||
// record comment
|
||||
dbWriter.recordCommentLocation({ fileId, 2, 1, 6, 3 });
|
||||
// record atomic source range for multi line comment
|
||||
dbWriter.recordAtomicSourceRange({ fileId, 2, 1, 6, 3 });
|
||||
|
||||
|
||||
// record namespace "api"
|
||||
|
||||
Reference in New Issue
Block a user