[all-commits] [llvm/llvm-project] 283c8f: [clang] Check ValueDependent instead of Instantiat...

Haojian Wu via All-commits all-commits at lists.llvm.org
Fri Jul 3 00:02:45 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 283c8f7f5ad0328ed99ec189ce3d6b3c7c877d36
      https://github.com/llvm/llvm-project/commit/283c8f7f5ad0328ed99ec189ce3d6b3c7c877d36
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2020-07-03 (Fri, 03 Jul 2020)

  Changed paths:
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/SemaCXX/builtin-align-cxx.cpp

  Log Message:
  -----------
  [clang] Check ValueDependent instead of InstantiationDependent before executing the align expr for builtin align functions.

in general, value dependent is a subset of instnatiation dependent. This
would allows us to produce diagnostics for the align expression (which
is instantiation dependent but not value dependent).

Differential Revision: https://reviews.llvm.org/D83074




More information about the All-commits mailing list