[all-commits] [llvm/llvm-project] 3692d2: Refactor tracking of constant initializers for var...

Richard Smith via All-commits all-commits at lists.llvm.org
Mon Oct 19 21:31:42 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3692d20d2b994ce865ffb97096b05218279e1ebd
      https://github.com/llvm/llvm-project/commit/3692d20d2b994ce865ffb97096b05218279e1ebd
  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/lib/AST/ASTImporter.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/Serialization/ASTReaderDecl.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/lib/Serialization/ASTWriterDecl.cpp

  Log Message:
  -----------
  Refactor tracking of constant initializers for variables.

Instead of framing the interface around whether the variable is an ICE
(which is only interesting in C++98), primarily track whether the
initializer is a constant initializer (which is interesting in all C++
language modes).

No functionality change intended.




More information about the All-commits mailing list