[all-commits] [llvm/llvm-project] 76c009: Ensure that checkInitIsICE is called exactly once ...

Richard Smith via All-commits all-commits at lists.llvm.org
Mon Oct 19 19:04:30 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 76c0092665867a6defcd328ba0d0d976eb65d991
      https://github.com/llvm/llvm-project/commit/76c0092665867a6defcd328ba0d0d976eb65d991
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-10-19 (Mon, 19 Oct 2020)

  Changed paths:
    M clang/include/clang/AST/Decl.h
    M clang/include/clang/Serialization/ASTRecordWriter.h
    M clang/lib/AST/ComparisonCategories.cpp
    M clang/lib/AST/Decl.cpp
    M clang/lib/AST/ExprConstant.cpp
    M clang/lib/CodeGen/ItaniumCXXABI.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/lib/Serialization/ASTReaderDecl.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/lib/Serialization/ASTWriterDecl.cpp
    M clang/test/CodeGen/enable_if.c
    M clang/test/OpenMP/threadprivate_codegen.cpp
    M clang/test/Sema/enable_if.c
    M clang/test/SemaCXX/constant-expression.cpp
    M clang/test/SemaCXX/i-c-e-cxx.cpp

  Log Message:
  -----------
  Ensure that checkInitIsICE is called exactly once for every variable
for which it matters.

This is a step towards separating checking for a constant initializer
(in which std::is_constant_evaluated returns true) and any other
evaluation of a variable initializer (in which it returns false).




More information about the All-commits mailing list