HomePhabricator

[ASTImporter] Handle built-in when importing SourceLocation and FileID

Authored by shafik on Mar 4 2019, 12:25 PM.

Description

[ASTImporter] Handle built-in when importing SourceLocation and FileID

Summary:
Currently when we see a built-in we try and import the include location. Instead what we do now is find the buffer like we do for the invalid case and copy that over to the to context.

Differential Revision: https://reviews.llvm.org/D58743

llvm-svn: 355332

Details