NoQ added a comment.
> eg. `const C &c(123);` or the actual (not the elidable copy) constructor in
> `C foo() { return C(123); }`
Emm, sry, never mind, forget it, i was trying to say that the reason why we
don't have a `CXXBindTemporary` is because we don't have a destructor in class
`C`, not
Hans,
The reproducer below generates wrong export symbols compared to MSVC but I am
not sure it is related to my change.
Compiling this with MSVC generates these symbols:
ksh-3.2$ dumpbin /directives t3.obj | grep EXPORT
/EXPORT:??4?$d@H@@QEAAAEAV0@AEBV0@@Z
/EXPORT:??4?$d@H@@QEAAAEA
NoQ created this revision.
NoQ added reviewers: dcoughlin, xazax.hun, a.sidorin, george.karpenkov, szepet.
Herald added subscribers: cfe-commits, rnkovacs.
When a constructor with a single argument is treated as a functional cast
expression, skip the functional cast while finding the construction
NoQ created this revision.
NoQ added reviewers: dcoughlin, xazax.hun, a.sidorin, george.karpenkov, szepet.
Herald added subscribers: cfe-commits, rnkovacs.
Because lifetime-extended temporaries are treated as const objects, an implicit
`NoOp` cast to `const` usually surrounds them in the AST, som
Hello Richard,
One of modified tests broke the next builder:
http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/8006
Failing Tests (1):
Clang :: CXX/drs/dr6xx.cpp
Please have a look?
Thanks
Galina
On Mon, Feb 19, 2018 at 1:05 AM, Richard Smith via cfe-commit
NoQ created this revision.
NoQ added reviewers: dcoughlin, xazax.hun, a.sidorin, george.karpenkov, szepet.
Herald added subscribers: cfe-commits, rnkovacs.
Similarly to https://reviews.llvm.org/D43480 and
https://reviews.llvm.org/D43481, we need to skip the ternary conditional
operator `... ? ..
sdardis created this revision.
sdardis added a reviewer: atanasyan.
Herald added a subscriber: arichardson.
This patch provides migitation for CVE-2017-5715, Spectre variant two,
which affects the https://reviews.llvm.org/P5600 and
https://reviews.llvm.org/P6600. It provides the option
-mindirect
Author: rsmith
Date: Mon Feb 19 14:50:50 2018
New Revision: 325540
URL: http://llvm.org/viewvc/llvm-project?rev=325540&view=rev
Log:
Fix test failure on target where size_t is long long.
Modified:
cfe/trunk/test/CXX/drs/dr6xx.cpp
Modified: cfe/trunk/test/CXX/drs/dr6xx.cpp
URL:
http://llvm.o
Fixed in r325540. Sorry about that.
On 19 February 2018 at 14:44, Galina Kistanova via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> Hello Richard,
>
> One of modified tests broke the next builder:
> http://lab.llvm.org:8011/builders/llvm-clang-x86_64-
> expensive-checks-win/builds/8006
>
>
NoQ updated this revision to Diff 134979.
NoQ added a comment.
Fix the test.
https://reviews.llvm.org/D43483
Files:
lib/Analysis/CFG.cpp
test/Analysis/cfg-rich-constructors.cpp
test/Analysis/temp-obj-dtors-cfg-output.cpp
Index: test/Analysis/temp-obj-dtors-cfg-output.cpp
EricWF updated this revision to Diff 134986.
EricWF added a comment.
Ping.
https://reviews.llvm.org/D40218
Files:
include/clang/Basic/Builtins.def
include/clang/Basic/DiagnosticSemaKinds.td
lib/AST/ExprConstant.cpp
lib/CodeGen/CGBuiltin.cpp
lib/Sema/SemaChecking.cpp
test/CodeGen/bui
EricWF updated this revision to Diff 134989.
EricWF added a comment.
Ping.
https://reviews.llvm.org/D43047
Files:
include/clang/Basic/Builtins.def
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/CodeGen/CGBuiltin.cpp
lib/CodeGen/CGExprCXX.cpp
lib/CodeGen/Cod
EricWF updated this revision to Diff 134987.
EricWF added a comment.
Ping.
https://reviews.llvm.org/D37035
Files:
docs/LanguageExtensions.rst
include/clang/AST/Expr.h
include/clang/AST/ExprCXX.h
include/clang/AST/RecursiveASTVisitor.h
include/clang/AST/SourceLocExprScope.h
include/c
vsapsai created this revision.
vsapsai added reviewers: rsmith, bruno.
Herald added a subscriber: jkorous-apple.
During reading C++ definition data for lambda we can access
CXXRecordDecl representing lambda before we finished reading the
definition data. This can happen by reading a captured varia
compnerd added a comment.
Is there a need for this given the changes for 6.0?
https://reviews.llvm.org/D34365
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
aprantl added inline comments.
Comment at: clang/lib/Serialization/ASTReaderDecl.cpp:2969
+if (!DD && RD->isBeingDefined())
+ return nullptr;
Perhaps add a comment explaining what's going on in this early exit?
https://reviews.llvm.org/D43494
Quuxplusone updated this revision to Diff 134999.
Quuxplusone edited the summary of this revision.
Repository:
rC Clang
https://reviews.llvm.org/D43322
Files:
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/Sema/SemaExprC
Quuxplusone added a comment.
@rsmith and/or @rtrieu, please take another look? All my TODOs are done now:
there are fixits, and the wording of the diagnostic changes if it's a "throw"
instead of a "return", and the wording has been updated per Richard Smith's
suggestions.
I have one very mino
NoQ created this revision.
NoQ added reviewers: dcoughlin, xazax.hun, a.sidorin, george.karpenkov, szepet.
Herald added subscribers: cfe-commits, rnkovacs.
This patch uses the reference to `MaterializeTemporaryExpr` stored in the
construction context since https://reviews.llvm.org/D43477 in order
vsapsai updated this revision to Diff 135003.
vsapsai added a comment.
Herald added a subscriber: christof.
- Add back existing test but run it only when file system supports min time.
https://reviews.llvm.org/D42755
Files:
libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.last_write
Author: eugenezelenko
Date: Mon Feb 19 18:16:28 2018
New Revision: 325544
URL: http://llvm.org/viewvc/llvm-project?rev=325544&view=rev
Log:
[Sema] Fix some Clang-tidy modernize and Include What You Use warnings; other
minor fixes (NFC).
Modified:
cfe/trunk/include/clang/Sema/AttributeList.h
Author: rsmith
Date: Mon Feb 19 18:32:30 2018
New Revision: 325545
URL: http://llvm.org/viewvc/llvm-project?rev=325545&view=rev
Log:
Fix some -Wexceptions false positives.
Reimplement the "noexcept function actually throws" warning to properly handle
nested try-blocks. In passing, change 'throw;'
NoQ added a comment.
I believe we should relocate this checker into `alpha.security` in order to
indicate that this is still in development, so that you (or anyone else) could
provide auto-detection for the macro values later as an incremental
improvement, and then it will be back in `security`
mclow.lists added inline comments.
Comment at:
test/std/numerics/numeric.ops/exclusive.scan/exclusive_scan.pass.cpp:80
{
std::vector v(10);
std::iota(v.begin(), v.end(), 1);
What if we just made the containers `vector` ? (and `triangle`)
https:
Quuxplusone updated this revision to Diff 135005.
Quuxplusone added a comment.
Removed a redundant check for LValueReferenceType in the CWG1579 codepath. (In
that branch, we know that standard C++ *did* perform the copy-to-move
transformation, so obviously we can't have had an lvalue reference t
juliehockett added inline comments.
Comment at: clang-doc/ClangDoc.cpp:32
+ ECtx.reportResult(
+ Name, Mapper.emitInfo(D, getComment(D), Name, getLine(D), getFile(D)));
+}
lebedev.ri wrote:
> I wonder if `Name` should be `std::move()`'d ? Or not, `reportRes
juliehockett updated this revision to Diff 135009.
juliehockett marked 27 inline comments as done.
juliehockett added a comment.
1. Decoupled the mapper implementation from the main program, exposing only the
function to generate the action factory
2. Implemented the matchers into a RecursiveASTV
Author: sammccall
Date: Mon Feb 19 23:21:56 2018
New Revision: 325553
URL: http://llvm.org/viewvc/llvm-project?rev=325553&view=rev
Log:
[Sema] Fix -Wunused-variable
Modified:
cfe/trunk/lib/Sema/AnalysisBasedWarnings.cpp
Modified: cfe/trunk/lib/Sema/AnalysisBasedWarnings.cpp
URL:
http://llvm
Author: ctopper
Date: Mon Feb 19 23:28:18 2018
New Revision: 325560
URL: http://llvm.org/viewvc/llvm-project?rev=325560&view=rev
Log:
[X86] Remove mask from 512 bit pmulhrsw/pmulhw/pmulhuw builtins.
We now use a vselect node in IR around an unmasked builtin. This makes it
consistent with the 128
jdemeule created this revision.
jdemeule added a reviewer: alexfh.
Herald added subscribers: cfe-commits, mgorny.
'modernize-user-default-member-init' does not automatically ask to remove comma
and colon when replacements are produced.
It seems, when they are apply directly from clang-tidy, the
lebedev.ri added inline comments.
Comment at: clang-doc/ClangDocBinary.cpp:72
+ assert(Abbrevs.find(recordID) == Abbrevs.end() &&
+ "Abbreviation already set.");
+ Abbrevs[recordID] = abbrevID;
juliehockett wrote:
> lebedev.ri wrote:
> > lebedev.ri wrot
101 - 131 of 131 matches
Mail list logo