Add SpellingNotCalculated to Attribute Enums to suppress UBSan warnings
authorErich Keane <erich.keane@intel.com>
Tue, 17 Sep 2019 14:11:51 +0000 (14:11 +0000)
committerErich Keane <erich.keane@intel.com>
Tue, 17 Sep 2019 14:11:51 +0000 (14:11 +0000)
commit68b0977e646abda3254a1eed123f75183b4aad3d
treed0f43c455b1c9565e4f69ed8010f2265ce2a9148
parent84a2f5e8b7874e111c7212008ec2fb6372a4a2c7
Add SpellingNotCalculated to Attribute Enums to suppress UBSan warnings

UBSan downstreams noticed that the assignment of SpellingNotCalculated
to the spellings caused warnings.

llvm-svn: 372124
clang/lib/AST/MicrosoftMangle.cpp
clang/lib/CodeGen/CGDebugInfo.cpp
clang/lib/Sema/SemaType.cpp
clang/utils/TableGen/ClangAttrEmitter.cpp