summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/annotate-comments.cpp
diff options
context:
space:
mode:
authorKaelyn Uhrain <rikka@google.com>2012-06-20 00:16:40 +0000
committerKaelyn Uhrain <rikka@google.com>2012-06-20 00:16:40 +0000
commit2212f807c7774aa168e9242300b420beb1915650 (patch)
tree2bd6e333339c93d4f893e6acc746ef754ea42bcb /clang/test/Index/annotate-comments.cpp
parent5f96883d446ff00665474b8882c23fbc98f47b12 (diff)
downloadbcm5719-llvm-2212f807c7774aa168e9242300b420beb1915650.tar.gz
bcm5719-llvm-2212f807c7774aa168e9242300b420beb1915650.zip
Don't assert when given an empty range.
llvm::RawMemoryObject handles empty ranges just fine, and the assert can be triggered in the wild by e.g. invoking clang with a file that included an empty pre-compiled header file when clang has been built with assertions enabled. Without assertions enabled, clang will properly report that the empty file is not a valid PCH. llvm-svn: 158769
Diffstat (limited to 'clang/test/Index/annotate-comments.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud