SuccessChanges

Summary

  1. [profile] Do not cache __llvm_profile_get_filename result (details)
  2. DebugInfo: Render the canonical name of a class template specialization, (details)
  3. [c++20] Add CXXRewrittenBinaryOperator to represent a comparison (details)
  4. [c++20] Add rewriting from comparison operators to <=> / ==. (details)
  5. P1152R4: Fix deprecation warnings in libc++ testsuite and in uses of (details)
  6. [analyzer] Specify the C++ standard in more tests. (details)
Commit 937241b0d9e8f896d4387292f01abf18ba9f9fcb by Vedant Kumar
[profile] Do not cache __llvm_profile_get_filename result
When the %m filename pattern is used, the filename is unique to each
image, so the cached value is wrong.
It struck me that the full filename isn't something that's recomputed
often, so perhaps it doesn't need to be cached at all. David Li pointed
out we can go further and just hide lprofCurFilename. This may regress
workflows that depend on using the set-filename API to change filenames
across all loaded DSOs, but this is expected to be very rare.
rdar://55137071
Differential Revision: https://reviews.llvm.org/D69137
llvm-svn: 375301
The file was modifiedclang/test/Driver/darwin-ld.c
The file was addedcompiler-rt/test/profile/instrprof-get-filename-merge-mode.c
The file was modifiedcompiler-rt/lib/profile/InstrProfiling.h
The file was modifiedcompiler-rt/lib/profile/InstrProfilingFile.c
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp
The file was addedcompiler-rt/test/profile/Inputs/instrprof-get-filename-dso.c
The file was removedcompiler-rt/test/profile/Posix/instrprof-set-filename-shared.test
Commit 9fdd09a4ccd01feb8e00be22b17e944e46807746 by dblaikie
DebugInfo: Render the canonical name of a class template specialization,
even when nested in another class template specialization
Differential Revision: https://reviews.llvm.org/D63031
llvm-svn: 375304
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was modifiedclang/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp
The file was modifiedclang/lib/AST/TypePrinter.cpp
Commit 778dc0f1d49230f53401ae0c190fe460bda4ffd1 by richard-llvm
[c++20] Add CXXRewrittenBinaryOperator to represent a comparison
operator that is rewritten as a call to multiple other operators.
No functionality change yet: nothing creates these expressions.
llvm-svn: 375305
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was modifiedclang/lib/CodeGen/CGExprAgg.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/lib/CodeGen/CGExprComplex.cpp
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedclang/tools/libclang/CXCursor.cpp
The file was modifiedclang/include/clang/Basic/StmtNodes.td
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/AST/ExprClassification.cpp
The file was modifiedclang/lib/Sema/SemaExceptionSpec.cpp
The file was modifiedclang/include/clang/AST/Stmt.h
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
Commit 974c8b7e2fde550fd87850d50695341101c38c2d by richard-llvm
[c++20] Add rewriting from comparison operators to <=> / ==.
This adds support for rewriting <, >, <=, and >= to a normal or reversed
call to operator<=>, for rewriting != to a normal or reversed call to
operator==, and for rewriting <=> and == to reversed forms of those same
operators.
Note that this is a breaking change for various C++17 code patterns,
including some in use in LLVM. The most common patterns (where an
operator== becomes ambiguous with a reversed form of itself) are still
accepted under this patch, as an extension (with a warning). I'm hopeful
that we can get the language rules fixed before C++20 ships, and the
extension warning is aimed primarily at providing data to inform that
decision.
llvm-svn: 375306
The file was addedclang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p3-2a.cpp
The file was addedclang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p9-2a.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/test/SemaCXX/self-comparison.cpp
The file was modifiedclang/include/clang/Sema/Overload.h
The file was addedclang/test/CodeGenCXX/mangle-cxx2a.cpp
The file was modifiedclang/include/clang/Basic/OperatorKinds.h
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/lib/Frontend/FrontendActions.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/test/SemaCXX/compare-cxx2a.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/www/cxx_status.html
The file was modifiedclang/test/PCH/cxx2a-compare.cpp
The file was modifiedclang/test/CXX/temp/temp.fct.spec/temp.deduct/p7.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was addedclang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p8-2a.cpp
Commit a9727033fb5fa229b520e0e0d973f68780bc5348 by richard-llvm
P1152R4: Fix deprecation warnings in libc++ testsuite and in uses of
is_invocable that would internally conjure up a deprecated function
type.
Summary: The implementation of P1152R4 in Clang has resulted in some
deprecation warnings appearing in the libc++ and libc++abi test suite.
Fix or suppress these warnings.
Reviewers: mclow.lists, EricWF
Subscribers: christof, ldionne, libcxx-commits
Tags: #libc
Differential Revision: https://reviews.llvm.org/D68879
llvm-svn: 375307
The file was modifiedlibcxx/include/type_traits
The file was modifiedlibcxxabi/test/unwind_06.pass.cpp
The file was modifiedlibcxx/include/__config
The file was modifiedlibcxx/test/std/utilities/meta/meta.trans/meta.trans.other/result_of11.pass.cpp
Commit b0914e7276bf97cb57f84fecc3a95e0d3ceeaf3e by Artem Dergachev
[analyzer] Specify the C++ standard in more tests.
Makes life easier for downstream developers with different default
standard.
llvm-svn: 375308
The file was modifiedclang/test/Analysis/explain-svals.cpp
The file was modifiedclang/test/Analysis/cast-value-state-dump.cpp
The file was modifiedclang/test/Analysis/initialization.cpp
The file was modifiedclang/test/Analysis/inner-pointer.cpp
The file was modifiedclang/test/Analysis/diagnostics/dtors.cpp
The file was modifiedclang/test/Analysis/ctu-different-triples.cpp
The file was modifiedclang/test/Analysis/stack-frame-context-revision.cpp
The file was modifiedclang/test/Analysis/domtest.cpp
The file was modifiedclang/test/Analysis/ctu-unknown-parts-in-triples.cpp
The file was modifiedclang/test/Analysis/ctu-main.cpp
The file was modifiedclang/test/Analysis/osobject-retain-release.cpp
The file was modifiedclang/test/Analysis/cast-value-notes.cpp
The file was modifiedclang/test/Analysis/temporaries.mm
The file was modifiedclang/test/Analysis/rvo.cpp
The file was modifiedclang/test/Analysis/osobjectcstylecastchecker_test.cpp
The file was modifiedclang/test/Analysis/new-ctor-null-throw.cpp
The file was modifiedclang/test/Analysis/test-separate-retaincount.cpp
The file was modifiedclang/test/Analysis/unions.cpp
The file was modifiedclang/test/Analysis/mig.mm
The file was modifiedclang/test/Analysis/sizeofpack.cpp
The file was modifiedclang/test/Analysis/malloc.mm
The file was modifiedclang/test/Analysis/new-ctor-null.cpp
The file was modifiedclang/test/Analysis/plist-macros-with-expansion.cpp
The file was modifiedclang/test/Analysis/inlining/placement-new-fp-suppression.cpp
The file was modifiedclang/test/Analysis/deadstores-driverkit.cpp
The file was modifiedclang/test/Analysis/ptr-sort.cpp
The file was modifiedclang/test/Analysis/cast-value-logic.cpp
The file was modifiedclang/test/Analysis/track-control-dependency-conditions.cpp
The file was modifiedclang/test/Analysis/ptr-iter.cpp