Revert "[ASTImporter] Fix crash caused by unset AttributeSpellingListIndex"
authorDave Lee <davelee.com@gmail.com>
Thu, 15 Oct 2020 00:19:22 +0000 (17:19 -0700)
committerDave Lee <davelee.com@gmail.com>
Thu, 15 Oct 2020 00:21:56 +0000 (17:21 -0700)
commit4cb4db11ee1323c5d4bf66d21deb046970f4e516
treeef59fdb8206e9020121e5e895b58ebdc64390562
parent8e7b108e80ff5988c0d5e1db581589e7b37f1bd8
Revert "[ASTImporter] Fix crash caused by unset AttributeSpellingListIndex"

This broke the GreenDragon build, due to the following error while running
TestImportBuiltinFileID:

```
Ignored/unknown shouldn't get here
UNREACHABLE executed at tools/clang/include/clang/Sema/AttrSpellingListIndex.inc:13!
```

See http://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/24213/

This reverts commit 73c6beb2f7053fe8b5150072c2b5cd930de38a22.
This reverts https://reviews.llvm.org/D89318
clang/lib/AST/ASTImporter.cpp
clang/test/ASTMerge/attr/Inputs/RestrictAttr.cpp [deleted file]
clang/test/ASTMerge/attr/testRestrictAttr.cpp [deleted file]
clang/unittests/AST/ASTImporterTest.cpp