[all-commits] [llvm/llvm-project] 57acba: Improve diagnostic when constant-evaluating a std:...
Richard Smith via All-commits
all-commits at lists.llvm.org
Wed Apr 15 13:28:46 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 57acbaece1ace979e6a9382d9d517d48895b9ef7
https://github.com/llvm/llvm-project/commit/57acbaece1ace979e6a9382d9d517d48895b9ef7
Author: Richard Smith <richard at metafoo.co.uk>
Date: 2020-04-15 (Wed, 15 Apr 2020)
Changed paths:
M clang/lib/AST/ExprConstant.cpp
M clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
Log Message:
-----------
Improve diagnostic when constant-evaluating a std::initializer_list with
an unexpected form.
Commit: 30853cd689efd73a005163436673c13a29eca805
https://github.com/llvm/llvm-project/commit/30853cd689efd73a005163436673c13a29eca805
Author: Richard Smith <richard at metafoo.co.uk>
Date: 2020-04-15 (Wed, 15 Apr 2020)
Changed paths:
M clang/include/clang/AST/ASTContext.h
Log Message:
-----------
Attempt to fix build with MSVC.
MSVC appears to instantiate the virtual members of FoldingSet when
instantiating the class definition, thereby requiring the element type
to be defined so that its hash function is known.
This is intended to be a temporary fix; ideally, FoldingSet should not
require this.
Compare: https://github.com/llvm/llvm-project/compare/592d8e7d75cf...30853cd689ef
More information about the All-commits
mailing list