[all-commits] [llvm/llvm-project] 81a73f: Fix aux-target diagnostics for certain builtins

Erich Keane via All-commits all-commits at lists.llvm.org
Tue May 19 10:50:10 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 81a73fde5cea304d31294fd26c2f051f1685e97c
      https://github.com/llvm/llvm-project/commit/81a73fde5cea304d31294fd26c2f051f1685e97c
  Author: Erich Keane <erich.keane at intel.com>
  Date:   2020-05-19 (Tue, 19 May 2020)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/Sema/check-aux-builtins.c

  Log Message:
  -----------
  Fix aux-target diagnostics for certain builtins

When I fixed the targets specific builtins to make sure that aux-targets
are checked, it seems I didn't consider cases where the builtins check
the target info for further info.  This patch bubbles the target-info
down to the individual checker functions to ensure that they validate
against the aux-target as well.

For non-aux-target invocations, this is an NFC.




More information about the All-commits mailing list