]> granicus.if.org Git - clang/commit
Made the ASTImporter resilient if it can't import
authorSean Callanan <scallanan@apple.com>
Wed, 10 Dec 2014 01:26:39 +0000 (01:26 +0000)
committerSean Callanan <scallanan@apple.com>
Wed, 10 Dec 2014 01:26:39 +0000 (01:26 +0000)
commit62b3c9a7e4006d758b2ee39aa1603d6b90c1184f
tree55c9397bf49f17c6be84ff9882af74538d65f3f0
parent9a31be7142b6fcadb3b0343f12a859accda207f5
Made the ASTImporter resilient if it can't import
SourceLocations.  LLDB rarely has the same files
mapped into the target AST context as the source
AST context, so the ASTImporter shouldn't expect
to see those files there.

This started to become a problem when importing
entities from modules -- these have proper source
locations, in contrast to all the ASTs LLDB
creates which have empty ones.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@223900 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTImporter.cpp