Factor out utility functions for documentation comments to be used in upcoming patches.
Also try not to get decomposed source location unless necessary as it is expensive.
Paths
| Differential D61102
[clang][ASTContext][NFCi] Refactor ASTContext::getRawCommentForDeclNoCache AbandonedPublic Authored by jkorous on Apr 24 2019, 4:31 PM.
Details Summary Factor out utility functions for documentation comments to be used in upcoming patches. Also try not to get decomposed source location unless necessary as it is expensive.
Diff Detail Event Timelinejkorous added a child revision: D61103: [clang] Add tryToAttachCommentsToDecls method to ASTContext. jkorous added a child revision: D61104: [clang][ASTContext] Try to avoid sorting comments for code completion. Comment Actions Could you reupload this patch and other patches with context? It is difficult to review.
jkorous added inline comments. This revision is now accepted and ready to land.Apr 29 2019, 12:56 AM
Revision Contents
Diff 196548 clang/lib/AST/ASTContext.cpp
clang/lib/AST/RawCommentList.cpp
|
No need for a semicolon.