r337352 - [AArch64] Define TARGET_HEADER_BUILTIN
Martin Storsjo via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 17 23:15:09 PDT 2018
Author: mstorsjo
Date: Tue Jul 17 23:15:09 2018
New Revision: 337352
URL: http://llvm.org/viewvc/llvm-project?rev=337352&view=rev
Log:
[AArch64] Define TARGET_HEADER_BUILTIN
Without it, the new intrinsics became available for all language
variants. This was missed in SVN r337327.
Modified:
cfe/trunk/lib/Basic/Targets/AArch64.cpp
Modified: cfe/trunk/lib/Basic/Targets/AArch64.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets/AArch64.cpp?rev=337352&r1=337351&r2=337352&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets/AArch64.cpp (original)
+++ cfe/trunk/lib/Basic/Targets/AArch64.cpp Tue Jul 17 23:15:09 2018
@@ -29,6 +29,8 @@ const Builtin::Info AArch64TargetInfo::B
{#ID, TYPE, ATTRS, nullptr, ALL_LANGUAGES, nullptr},
#define LANGBUILTIN(ID, TYPE, ATTRS, LANG) \
{#ID, TYPE, ATTRS, nullptr, LANG, nullptr},
+#define TARGET_HEADER_BUILTIN(ID, TYPE, ATTRS, HEADER, LANGS, FEATURE) \
+ {#ID, TYPE, ATTRS, HEADER, LANGS, FEATURE},
#include "clang/Basic/BuiltinsAArch64.def"
};
More information about the cfe-commits
mailing list