| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
| |
Most functions that return StringRef should check their return values,
so I'm planning on marking StringRef [[nodiscard]]. This requires
splitting up functions like next() that are sometimes just used for
side effects.
llvm-svn: 284363
|
| |
|
|
|
|
|
|
|
|
| |
never used
StringRef is passed through all of these APIs but never actually
used. Just remove it from the API for now and if people want to use it
they can add it back.
llvm-svn: 284362
|
| |
|
|
|
|
|
|
| |
While the toStringRef API almost certainly ends up populating the
SmallString here, the correct way to use this API is to use the return
value.
llvm-svn: 284361
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
clang-tools-extra\unittests\clang-move\ClangMoveTests.cpp(216) : error C2593: 'operator =' is ambiguous
llvm\include\llvm/ADT/SmallVector.h(898): could be 'const llvm::SmallVector<std::string,4> &llvm::SmallVector<std::string,4>::operator =(std::initializer_list<std::basic_string<char,std::char_traits<char>,std::allocator<char>>>)'
llvm\include\llvm/ADT/SmallVector.h(893): or 'const llvm::SmallVector<std::string,4> &llvm::SmallVector<std::string,4>::operator =(llvm::SmallVectorImpl<T> &&)'
with
[
T=std::string
]
llvm\include\llvm/ADT/SmallVector.h(883): or 'const llvm::SmallVector<std::string,4> &llvm::SmallVector<std::string,4>::operator =(llvm::SmallVector<std::string,4> &&)'
llvm\include\llvm/ADT/SmallVector.h(873): or 'const llvm::SmallVector<std::string,4> &llvm::SmallVector<std::string,4>::operator =(const llvm::SmallVector<std::string,4> &)'
while trying to match the argument list '(llvm::SmallVector<std::string,4>, initializer-list)'
llvm-svn: 284360
|
| |
|
|
| |
llvm-svn: 284359
|
| |
|
|
|
|
| |
existing support for vpermt2var.
llvm-svn: 284357
|
| |
|
|
|
|
| |
Combining will be added in a future commit.
llvm-svn: 284356
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously: When compiling for host, our constructed call graph went
*through* kernel calls. This meant that if we had
host calls kernel calls HD
we would incorrectly mark the HD function as known-emitted on the host
side, and thus perform host-side checks on it.
Fixing this exposed another issue, wherein when marking a function as
known-emitted, we also need to traverse the callgraph of its template,
because non-dependent calls are attached to a function's template, not
its instantiation.
llvm-svn: 284355
|
| |
|
|
|
|
|
|
| |
an insert_subvector into a subvector broadcast.
Differential Revision: https://reviews.llvm.org/D25650
llvm-svn: 284353
|
| |
|
|
|
|
|
| |
error: 'error' diagnostics seen but not expected:
File clang\test\CXX\conv\conv.fctptr\p1.cpp Line 16: assigning to 'void (S::*)() __attribute__((thiscall)) noexcept' from incompatible type 'void (S::*)() __attribute__((thiscall))': different exception specifications
llvm-svn: 284352
|
| |
|
|
|
|
|
|
|
| |
redeclarations""
This reverts commit r284340 to reapply r284335. The bot breakage was due to
an unrelated change in the polybench test suite.
llvm-svn: 284351
|
| |
|
|
|
|
|
|
| |
Ideally these would actually check that the results are reasonable,
but given that we're looping over so many different kinds of path that
isn't really practical.
llvm-svn: 284350
|
| |
|
|
| |
llvm-svn: 284349
|
| |
|
|
|
|
|
| |
Simplify this a little bit since the result is never used. It can be
added back easily enough if that changes.
llvm-svn: 284348
|
| |
|
|
|
|
| |
Also handle the in-llvm-tree case forgotten in r284339.
llvm-svn: 284347
|
| |
|
|
|
|
|
| |
Update a function annotated with LLVM_ATTRIBUTE_UNUSED_RESULT to use
LLVM_NODISCARD instead.
llvm-svn: 284346
|
| |
|
|
|
|
|
| |
Update functions annotated with LLVM_ATTRIBUTE_UNUSED_RESULT to use
LLVM_NODISCARD instead.
llvm-svn: 284345
|
| |
|
|
|
|
|
| |
Update functions annotated with LLVM_ATTRIBUTE_UNUSED_RESULT to use
LLVM_NODISCARD instead.
llvm-svn: 284344
|
| |
|
|
|
|
|
| |
Update functions annotated with LLVM_ATTRIBUTE_UNUSED_RESULT to use
LLVM_NODISCARD instead.
llvm-svn: 284343
|
| |
|
|
|
|
|
| |
Instead of annotating (most of) the ArrayRef API, we can just annotate
the type directly. This is less code and it will warn in more cases.
llvm-svn: 284342
|
| |
|
|
|
|
|
|
| |
Make these comments a bit more explicit that they're initializing the
RawText member, and explicitly cast the unused result of getRawText to
void for clarity.
llvm-svn: 284341
|
| |
|
|
|
|
|
|
|
|
| |
This reverts commit r284335.
It appears to be causing test-suite compile-time and execution-time
performance measurements to take longer than expected on several bots.
This is surprising, because r284335 is a static-analyzer-only change.
llvm-svn: 284340
|
| |
|
|
|
|
|
|
|
|
|
| |
lit recursively iterates through the test subdirectories and finds the ISL
unittest. For this test to work, the polly-isl-test executable needs to be
compiled.
Add the polly-isl-test dependency to POLLY_TEST_DEPS. This makes check-polly and
check-polly-tests work from a fresh build directory.
llvm-svn: 284339
|
| |
|
|
|
|
|
|
| |
The test non_affine_loop_used_later.ll also tests the profability heuristic. Add
the option -polly-unprofitable-scalar-accs explicitely to ensure that the test
succeeds if the default value is changed.
llvm-svn: 284338
|
| |
|
|
|
|
|
| |
implements the bulk of the change (modifying the type system to include
exception specifications), but not all the details just yet.
llvm-svn: 284337
|
| |
|
|
|
|
| |
fix TBAA violation in profiling of pointers.
llvm-svn: 284336
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Add additional checking to MallocChecker to avoid crashing when memory
routines have unexpected numbers of arguments. You wouldn't expect to see much
of this in normal code (-Wincompatible-library-redeclaration warns on this),
but, for example, CMake tests can generate these.
This is PR30616.
rdar://problem/28631974
llvm-svn: 284335
|
| |
|
|
| |
llvm-svn: 284333
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Fix a false negative in cert-err58-cpp check when calling a constructor
creates objects that require cleanup.
Reviewers: aaron.ballman
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D25642
llvm-svn: 284332
|
| |
|
|
| |
llvm-svn: 284331
|
| |
|
|
|
|
| |
other vpermi2var intrinsics.
llvm-svn: 284329
|
| |
|
|
| |
llvm-svn: 284328
|
| |
|
|
|
|
| |
HasVLX predicate. Similar for floating point.
llvm-svn: 284327
|
| |
|
|
| |
llvm-svn: 284326
|
| |
|
|
| |
llvm-svn: 284325
|
| |
|
|
| |
llvm-svn: 284324
|
| |
|
|
| |
llvm-svn: 284323
|
| |
|
|
| |
llvm-svn: 284322
|
| |
|
|
| |
llvm-svn: 284321
|
| |
|
|
| |
llvm-svn: 284320
|
| |
|
|
| |
llvm-svn: 284319
|
| |
|
|
| |
llvm-svn: 284318
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Revert:
r283662: [analyzer] Re-apply r283093 "Add extra notes to ObjCDeallocChecker"
r283660: [analyzer] Fix build error after r283660 - remove constexpr strings.
It was causing an internal build bot to fail. It looks like in some cases
adding an extra note can cause scan-build plist output to drop a diagnostic
altogether.
llvm-svn: 284317
|
| |
|
|
| |
llvm-svn: 284316
|
| |
|
|
| |
llvm-svn: 284315
|
| |
|
|
| |
llvm-svn: 284314
|
| |
|
|
| |
llvm-svn: 284313
|
| |
|
|
|
|
|
|
| |
SDNode to MachineMemOperand, and remove redundant getAtomic* member functions from SelectionDAG.
Differential Revision: https://reviews.llvm.org/D24577
llvm-svn: 284312
|
| |
|
|
|
|
|
|
|
|
|
| |
In theory this could be generalized to move anything where
we prove the operands are available, but that would require
rewriting PRE. As NewGVN will hopefully come soon, and we're
trying to rewrite PRE in terms of NewGVN+MemorySSA, it's probably
not worth spending too much time on it. Fix provided by
Daniel Berlin!
llvm-svn: 284311
|
| |
|
|
| |
llvm-svn: 284310
|