EricWF added a comment.
In https://reviews.llvm.org/D45013#1052600, @vsapsai wrote:
> Does it make sense to have a warning for `__libcpp_deallocate` and
> `get_temporary_buffer` too? Not sure about deallocate as you have allocated
> memory already and allocation has a warning. So for deallocati
phosek created this revision.
phosek added reviewers: rnk, pirama, bkramer, mgorny.
Herald added a subscriber: cfe-commits.
https://reviews.llvm.org/D30700 added the -f[no-]rtlib-add-rpath flag, but that
flag was never
wired up in the driver and tests were updated to check whether it
actually doe
EricWF created this revision.
EricWF added reviewers: rsmith, aaron.ballman, majnemer.
Herald added a subscriber: klimek.
This patch refactors `UnaryTransformType` into `TransformTraitType` which
accepts an arbitrary number of input arguments, which is needed to support
upcoming traits such as `
Author: ericwf
Date: Sat Mar 31 17:33:51 2018
New Revision: 328924
URL: http://llvm.org/viewvc/llvm-project?rev=328924&view=rev
Log:
Add missing include to ContinuousRangeMap.h
Modified:
cfe/trunk/include/clang/Serialization/ContinuousRangeMap.h
Modified: cfe/trunk/include/clang/Serializatio
Author: ericwf
Date: Sat Mar 31 17:31:14 2018
New Revision: 328923
URL: http://llvm.org/viewvc/llvm-project?rev=328923&view=rev
Log:
Add missing include to Visibility.h
Modified:
cfe/trunk/include/clang/Basic/Visibility.h
Modified: cfe/trunk/include/clang/Basic/Visibility.h
URL:
http://llvm
rsmith added inline comments.
Comment at: lib/Analysis/CFG.cpp:1435
/// extended by a local reference with the given initializer.
static QualType getReferenceInitTemporaryType(ASTContext &Context,
const Expr *Init,
rjmccall accepted this revision.
rjmccall added a comment.
This revision is now accepted and ready to land.
Thanks. LGTM whenever you've cleared up the self-hosting problems.
Repository:
rC Clang
https://reviews.llvm.org/D44883
___
cfe-commits m
lebedev.ri added inline comments.
Comment at:
test/std/language.support/support.types/byteops/and.assign.pass.cpp:30
-static_assert(noexcept(b &= b), "" );
+static_assert(noexcept(b &= (std::byte &)b), "" );
Quuxplusone wrote:
> lebedev.ri wrote:
> >
Quuxplusone added inline comments.
Comment at:
test/std/language.support/support.types/byteops/and.assign.pass.cpp:30
-static_assert(noexcept(b &= b), "" );
+static_assert(noexcept(b &= (std::byte &)b), "" );
lebedev.ri wrote:
> EricWF wrote:
> > Sho
lebedev.ri added inline comments.
Comment at:
test/std/language.support/support.types/byteops/and.assign.pass.cpp:30
-static_assert(noexcept(b &= b), "" );
+static_assert(noexcept(b &= (std::byte &)b), "" );
EricWF wrote:
> Should Clang really be war
EricWF added inline comments.
Comment at:
test/std/language.support/support.types/byteops/and.assign.pass.cpp:30
-static_assert(noexcept(b &= b), "" );
+static_assert(noexcept(b &= (std::byte &)b), "" );
Should Clang really be warning when the expres
echristo added a comment.
The llvm change and corresponding switch from satom->sm_60 in the front end is
fine.
Let's talk about the rest of it more. I'm not sure I'm seeing the need here
rather than the annotations that are already here. Can you elaborate more here
on why we need an additional
lebedev.ri updated this revision to Diff 140554.
lebedev.ri added a comment.
- Revised release notes entry
- Created https://reviews.llvm.org/D45128 with libcxx patch from stage-2
testing.
Repository:
rC Clang
https://reviews.llvm.org/D44883
Files:
docs/ReleaseNotes.rst
lib/Sema/SemaExp
lebedev.ri created this revision.
lebedev.ri added reviewers: mclow.lists, EricWF.
https://reviews.llvm.org/D44883 extends -Wself-assign to also work on C++
classes.
These new warnings pop up in the test suite, so they have to be silenced.
Please refer to the https://reviews.llvm.org/D45082 for
Author: nico
Date: Sat Mar 31 11:26:25 2018
New Revision: 328922
URL: http://llvm.org/viewvc/llvm-project?rev=328922&view=rev
Log:
Revert r328845, it caused crbug.com/827810.
Modified:
cfe/trunk/include/clang/AST/Mangle.h
cfe/trunk/include/clang/AST/VTableBuilder.h
cfe/trunk/lib/AST/M
jbcoe requested changes to this revision.
jbcoe added a comment.
This revision now requires changes to proceed.
Can you add some simple tests?
Repository:
rC Clang
https://reviews.llvm.org/D42893
___
cfe-commits mailing list
cfe-commits@lists.llv
devnexen created this revision.
devnexen added a reviewer: brad.
Herald added subscribers: cfe-commits, krytarowski, dberris.
Enabling Xray in OpenBSD
Repository:
rC Clang
https://reviews.llvm.org/D45126
Files:
lib/Driver/ToolChains/OpenBSD.cpp
lib/Driver/XRayArgs.cpp
Index: lib/Driver
rnk added a comment.
In https://reviews.llvm.org/D45112#1053539, @majnemer wrote:
> Does this help PR25641?
I think so, these are probably duplicate PRs. I think your analysis on that bug
is slightly off, because the TU that provides `ImplCanvas::createColor` *can't*
provide the thunks that `
rjmccall accepted this revision.
rjmccall added a comment.
This revision is now accepted and ready to land.
LGTM.
https://reviews.llvm.org/D45112
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/
rjmccall added inline comments.
Comment at: docs/ReleaseNotes.rst:63
+- ``-Wself-assign`` and ``-Wself-assign-field`` were extended to diagnose
+ self-assignment operations using overloaded operators (i.e. classes)
+
Missing a final period. Also, these release
lebedev.ri updated this revision to Diff 140547.
lebedev.ri added a comment.
- Rebased
- Also test that `*&` contraption silences the warning.
Repository:
rC Clang
https://reviews.llvm.org/D44883
Files:
docs/ReleaseNotes.rst
lib/Sema/SemaExpr.cpp
test/SemaCXX/implicit-exception-spec.cp
Eugene.Zelenko added inline comments.
Comment at: clang-tidy/readability/UnnecessaryIntermediateVarCheck.cpp:1
+//===--- UnnecessaryIntermediateVarCheck.cpp -
+// clang-tidy--===//
Please make fit line into 80 characters and remove incorrect c
asmith created this revision.
asmith added reviewers: rnk, zturner, llvm-commits.
Herald added a subscriber: cfe-commits.
This has a dependence on https://reviews.llvm.org/D45122
Repository:
rC Clang
https://reviews.llvm.org/D45124
Files:
CodeGen/CGDebugInfo.cpp
Index: CodeGen/CGDebugInf
tbourvon updated this revision to Diff 140541.
tbourvon marked 3 inline comments as done.
tbourvon added a comment.
Order and link fixes in the release notes
https://reviews.llvm.org/D37014
Files:
clang-tidy/readability/CMakeLists.txt
clang-tidy/readability/ReadabilityTidyModule.cpp
clang
GorNishanov created this revision.
GorNishanov added reviewers: EricWF, lewissbaker, modocache.
GorNishanov added dependencies: D45114: [coroutines] Add support for
llvm.coro.noop intrinsics, D45120: [coroutines] Add __builtin_coro_noop =>
llvm.coro.noop.
A recent addition to Coroutines TS (http
GorNishanov created this revision.
GorNishanov added reviewers: EricWF, modocache, lewissbaker.
A recent addition to Coroutines TS (https://wg21.link/p0913) adds a pre-defined
coroutine noop_coroutine that does nothing. To implement this feature, we
implemented
an llvm.coro.noop intrinsic that re
This revision was automatically updated to reflect the committed changes.
Closed by commit rC328919: [analyzer] Unroll the loop when it has a unsigned
counter. (authored by henrywong, committed by ).
Repository:
rC Clang
https://reviews.llvm.org/D45086
Files:
lib/StaticAnalyzer/Core/LoopUnr
Author: henrywong
Date: Sat Mar 31 05:46:46 2018
New Revision: 328919
URL: http://llvm.org/viewvc/llvm-project?rev=328919&view=rev
Log:
[analyzer] Unroll the loop when it has a unsigned counter.
Summary:
The original implementation in the `LoopUnrolling.cpp` didn't consider the case
where the co
JonasToth added a comment.
Alright. Thank you for clarification :)
Comment at: clang-tidy/bugprone/ComparisonInTempFailureRetryCheck.cpp:75
+ const auto &Assign = *Result.Nodes.getNodeAs("assign");
+ const auto &RHS = *cast(Assign.getRHS()->IgnoreParenCasts());
+ assert(RHS.
29 matches
Mail list logo