]> granicus.if.org Git - clang/commit
[index] Fix assertion hit when handling a declaration of C++'s 'operator new' function.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 2 Nov 2016 23:42:33 +0000 (23:42 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 2 Nov 2016 23:42:33 +0000 (23:42 +0000)
commiteab101ef5f6d2b3c93dc6b13325d1d96bde00772
treeab65889869c204db1810afd0e202178d1aa0cfd4
parentfb4b957c672e091bfe70b94054d120ca3f50adf7
[index] Fix assertion hit when handling a declaration of C++'s 'operator new' function.

Part of this is to allow creating a USR for the canonical decl of that which is implicit and does
not have a source location.

rdar://28978992

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@285868 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Index/IndexingContext.cpp
lib/Index/USRGeneration.cpp
test/Index/Core/index-source.cpp