Skip to content

Commit

Permalink
[AArch64] Define TARGET_HEADER_BUILTIN
Browse files Browse the repository at this point in the history
Without it, the new intrinsics became available for all language
variants. This was missed in SVN r337327.

llvm-svn: 337352
  • Loading branch information
mstorsjo committed Jul 18, 2018
1 parent cd83d45 commit 17c0f72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clang/lib/Basic/Targets/AArch64.cpp
Expand Up @@ -29,6 +29,8 @@ const Builtin::Info AArch64TargetInfo::BuiltinInfo[] = {
{#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"
};

Expand Down

0 comments on commit 17c0f72

Please sign in to comment.