commit | 6df2a3be33099024fbb31d8e05e364d31ae5aaf1 | [log] [tgz] |
---|---|---|
author | Frederic Riss <friss@apple.com> | Thu Nov 06 17:46:55 2014 +0000 |
committer | Frederic Riss <friss@apple.com> | Thu Nov 06 17:46:55 2014 +0000 |
tree | f214c162ee3406f4387f31f049bb145f7eefecb2 | |
parent | d67fc42d223aa7df9dec3b632a6cb7a3316fe15c [diff] |
Change DIBuilder::createImportedDeclaration from taking a DIScope to a DIDescriptor. Imported declarations can be DIGlobalVariables which aren't a DIScope. Today clang (unknowingly I believe) shoehorns these into a DIScope and it all works just because we never access the fields. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221466 91177308-0d34-0410-b5e6-96231b3b80d8