1. [LifetimeAnalysis] Support more STL idioms (template forward declaration (details)
  2. [Attributor] FIX: Try to make bots happy (details)
  3. gn build: Merge r369587 (details)
  4. gn build: Merge r369591 (details)
  5. [test] Update test so it matches the Windows output (details)
  6. [analyzer] Mention whether an event is about a condition in a bug report (details)
  7. libcxx: Rename last two .hpp files in libcxx to .h (details)
  8. [X86] Replace a couple hardcoded '5's with X86::AddrNumOperands for (details)
Commit b1c78012900ba43cf0a636b8392ee84d7122122a by M.Gehre
[LifetimeAnalysis] Support more STL idioms (template forward declaration
and DependentNameType)
Summary: This fixes inference of gsl::Pointer on std::set::iterator with
libstdc++ (the typedef for iterator on the template is a
DependentNameType - we can only put the gsl::Pointer attribute on the
underlaying record after instantiation)
inference of gsl::Pointer on std::vector::iterator with libc++ (the
class was forward-declared, we added the gsl::Pointer on the canonical
decl (the forward decl), and later when the template was instantiated,
there was no attribute on the definition so it was not instantiated).
and a duplicate gsl::Pointer on some class with libstdc++ (we first
added an attribute to a incomplete instantiation, and then another was
copied from the template definition when the instantiation was
We now add the attributes to all redeclarations to fix thos issues and
make their usage easier.
Reviewers: gribozavr
Subscribers: Szelethus, xazax.hun, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D66179
llvm-svn: 369591
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp (diff)
The file was modifiedclang/test/SemaCXX/attr-gsl-owner-pointer-std.cpp (diff)
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp (diff)
The file was modifiedclang/test/SemaCXX/attr-gsl-owner-pointer.cpp (diff)
The file was modifiedclang/unittests/Sema/CMakeLists.txt (diff)
The file was addedclang/unittests/Sema/GslOwnerPointerInference.cpp
The file was modifiedclang/lib/Sema/SemaAttr.cpp (diff)
The file was modifiedclang/lib/Sema/SemaInit.cpp (diff)
Commit 92dee44d77163906226e2ac4c510c0ddcfb2bbf1 by jdoerfert
[Attributor] FIX: Try to make bots happy
Locally the tight iterations bounds work fine but the bots seem unhappy.
Try to get green bots and some time to determine the underlying problem.
llvm-svn: 369592
The file was modifiedllvm/test/Transforms/FunctionAttrs/noreturn_sync.ll (diff)
The file was modifiedllvm/test/Transforms/FunctionAttrs/nonnull.ll (diff)
The file was modifiedllvm/test/Transforms/FunctionAttrs/read_write_returned_arguments_scc.ll (diff)
The file was modifiedllvm/test/Transforms/FunctionAttrs/align.ll (diff)
Commit e1f27e4ad1e5044e8f453db8fdab4a51ccdb50f2 by nicolasweber
gn build: Merge r369587
llvm-svn: 369593
The file was modifiedllvm/utils/gn/secondary/llvm/lib/DebugInfo/GSYM/BUILD.gn (diff)
Commit 40902b48ddc9415d0e2eef3141451a4f0a92d8d5 by nicolasweber
gn build: Merge r369591
llvm-svn: 369594
The file was modifiedllvm/utils/gn/secondary/clang/unittests/Sema/BUILD.gn (diff)
Commit 71dc97b5bfb771b480695659bcd5ba26f5cea083 by Jonas Devlieghere
[test] Update test so it matches the Windows output
llvm-svn: 369595
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/cpp/char8_t/TestCxxChar8_t.py (diff)
Commit d9a81ccf05925e25df17cf64f7636ae78cd99d3d by dkszelethus
[analyzer] Mention whether an event is about a condition in a bug report
part 2
In D65724, I do a pretty thorough explanation about how I'm solving this
problem, I think that summary nails whats happening here ;)
Differential Revision: https://reviews.llvm.org/D65725
llvm-svn: 369596
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp (diff)
The file was modifiedclang/test/Analysis/track-control-dependency-conditions.cpp (diff)
Commit 0f3efc4aab9748ea4791ed47530a9ea7174b97e3 by nicolasweber
libcxx: Rename last two .hpp files in libcxx to .h
Differential Revision: https://reviews.llvm.org/D66544
llvm-svn: 369597
The file was addedlibcxx/test/std/input.output/filesystems/fs.enum/check_bitmask_types.h
The file was modifiedlibcxx/test/std/utilities/function.objects/comparisons/greater.pass.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/function.objects/comparisons/less.pass.cpp (diff)
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.enum/enum.perm_options.pass.cpp (diff)
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.enum/enum.copy_options.pass.cpp (diff)
The file was removedlibcxx/test/std/utilities/function.objects/comparisons/pointer_comparison_test_helper.hpp
The file was removedlibcxx/test/std/input.output/filesystems/fs.enum/check_bitmask_types.hpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.enum/enum.perms.pass.cpp (diff)
The file was addedlibcxx/test/std/utilities/function.objects/comparisons/pointer_comparison_test_helper.h
The file was modifiedlibcxx/test/std/utilities/function.objects/comparisons/greater_equal.pass.cpp (diff)
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.enum/enum.directory_options.pass.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/function.objects/comparisons/less_equal.pass.cpp (diff)
Commit 303bbc3be28747c8b6e25fb697c1ba6c47b962aa by craig.topper
[X86] Replace a couple hardcoded '5's with X86::AddrNumOperands for
readability. NFC
llvm-svn: 369598
The file was modifiedllvm/lib/Target/X86/X86ExpandPseudo.cpp (diff)