[all-commits] [llvm/llvm-project] f9eaa6: Ensure aux-target specific builtins get validated.
Erich Keane via All-commits
all-commits at lists.llvm.org
Thu May 7 13:23:29 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: f9eaa6934e4fdd92e09ddff89b6805a8b583e53e
https://github.com/llvm/llvm-project/commit/f9eaa6934e4fdd92e09ddff89b6805a8b583e53e
Author: Erich Keane <erich.keane at intel.com>
Date: 2020-05-07 (Thu, 07 May 2020)
Changed paths:
M clang/include/clang/Sema/Sema.h
M clang/lib/Sema/SemaChecking.cpp
A clang/test/Sema/check-aux-builtins.c
Log Message:
-----------
Ensure aux-target specific builtins get validated.
I discovered that when using an aux-target builtin, it was recognized as
a builtin but never checked. This patch checks for an aux-target builtin
and instead validates it against the correct target.
It does this by extracting the checking code for Target-specific
builtins into its own function, then calls with either targetInfo or
AuxTargetInfo.
More information about the All-commits
mailing list