]> granicus.if.org Git - clang/commit
Comment parsing: when comment ranges are deserialized from multiple modules,
authorDmitri Gribenko <gribozavr@gmail.com>
Thu, 27 Mar 2014 15:40:39 +0000 (15:40 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Thu, 27 Mar 2014 15:40:39 +0000 (15:40 +0000)
commit78137914306f0b549d887d0066b882edff527b8a
tree28fad291de7f01b3cb12e264b7e7156ced863520
parent10270d2ce5a24ddd9f09c9ce81c2d4b37e8fb151
Comment parsing: when comment ranges are deserialized from multiple modules,
correctly order comments in SourceManager::isBeforeInTranslationUnit() order

Unfortunately, this is not as simple as it was implemented previously, and
actually requires doing a merge sort.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204936 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/RawCommentList.h
lib/AST/ASTContext.cpp
lib/AST/RawCommentList.cpp
lib/Serialization/ASTReader.cpp
test/Index/Inputs/Frameworks/DocCommentsA.framework/Headers/DocCommentsA.h [new file with mode: 0644]
test/Index/Inputs/Frameworks/DocCommentsB.framework/Headers/DocCommentsB.h [new file with mode: 0644]
test/Index/Inputs/Frameworks/DocCommentsC.framework/Headers/DocCommentsC.h [new file with mode: 0644]
test/Index/annotate-comments-objc.m