EricWF updated this revision to Diff 88319.
EricWF added a comment.
- More cleanup
- Rename `BuildCoawaitExpr` -> `BuildResolvedCoawaitExpr` and
`BuildDependentCoawaitExpr` -> `BuildUnresolvedCoawaitExpr`.
https://reviews.llvm.org/D26057
Files:
include/clang/AST/ExprCXX.h
include/clang/AST
EricWF updated this revision to Diff 88325.
EricWF added a comment.
Add more tests.
https://reviews.llvm.org/D26057
Files:
include/clang/AST/ExprCXX.h
include/clang/AST/RecursiveASTVisitor.h
include/clang/AST/Stmt.h
include/clang/AST/StmtCXX.h
include/clang/Basic/DiagnosticSemaKinds.t
hokein created this revision.
Herald added a subscriber: JDevlieghere.
Users might get confused easily when they see the check's message on
full template function speciliations.
Add a note to the output message, which mentions these kind of function
specializations are treated as regular function
ABataev added a comment.
General comment: do you really need to define default schedule kind in Sema?
Could you do it during codegen phase?
Comment at: include/clang/Basic/OpenMPKinds.h:23-25
+class Sema;
+class OMPClause;
+
No way, these classes should not be
xazax.hun updated this revision to Diff 88330.
xazax.hun marked 7 inline comments as done.
xazax.hun added a comment.
- Added a note to make it easier to understand the diagnostics.
- Reworded the error message about dangling else.
- Fixed other review comments.
https://reviews.llvm.org/D19586
xazax.hun added a comment.
Thank you for the review!
Comment at: clang-tidy/readability/MisleadingIndentationCheck.cpp:79
+ Finder->addMatcher(
+ compoundStmt(anyOf(has(ifStmt()), has(forStmt()), has(whileStmt(
+ .bind("compound"),
alexfh wro
alexfh requested changes to this revision.
alexfh added inline comments.
This revision now requires changes to proceed.
Comment at: clang-tidy/misc/DefinitionsInHeadersCheck.cpp:131-135
+if (FD->getTemplateSpecializationKind() != TSK_Undeclared)
+ diag(FD->getLocation(),
xazax.hun updated this revision to Diff 88333.
xazax.hun marked 9 inline comments as done.
xazax.hun added a comment.
- Updated to latest trunk.
- The cert rule was renamed, the patch is updated accordingly.
- Fixes as per review comments.
https://reviews.llvm.org/D23421
Files:
clang-tidy/cer
alexfh accepted this revision.
alexfh added a comment.
This revision is now accepted and ready to land.
LG
Comment at: clang-tidy/readability/MisleadingIndentationCheck.cpp:79
+ Finder->addMatcher(
+ compoundStmt(anyOf(has(ifStmt()), has(forStmt()), has(whileStmt(
+
alexfh added a comment.
Gábor, thank you for picking up this patch and finishing it!
https://reviews.llvm.org/D19586
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: xazax
Date: Tue Feb 14 04:03:27 2017
New Revision: 295041
URL: http://llvm.org/viewvc/llvm-project?rev=295041&view=rev
Log:
[clang-tidy] Add readability-misleading-indentation check.
Differential Revision: https://reviews.llvm.org/D19586
Added:
clang-tools-extra/trunk/clang-tidy/rea
This revision was automatically updated to reflect the committed changes.
Closed by commit rL295041: [clang-tidy] Add readability-misleading-indentation
check. (authored by xazax).
Changed prior to commit:
https://reviews.llvm.org/D19586?vs=88330&id=88334#toc
Repository:
rL LLVM
https://rev
xazax.hun added inline comments.
Comment at: clang-tidy/readability/MisleadingIndentationCheck.cpp:79
+ Finder->addMatcher(
+ compoundStmt(anyOf(has(ifStmt()), has(forStmt()), has(whileStmt(
+ .bind("compound"),
alexfh wrote:
> xazax.hun wrote:
alexfh requested changes to this revision.
alexfh added a comment.
This revision now requires changes to proceed.
A few more nits.
Comment at: clang-tidy/modernize/ReturnBracedInitListCheck.cpp:66
+ auto Diag = diag(Loc, "to avoid repeating the return type from the "
+
hokein updated this revision to Diff 88336.
hokein added a comment.
Address review comment.
https://reviews.llvm.org/D29928
Files:
clang-tidy/misc/DefinitionsInHeadersCheck.cpp
test/clang-tidy/misc-definitions-in-headers.hpp
Index: test/clang-tidy/misc-definitions-in-headers.hpp
=
Author: rizsotto
Date: Tue Feb 14 04:30:50 2017
New Revision: 295043
URL: http://llvm.org/viewvc/llvm-project?rev=295043&view=rev
Log:
[scan-build-py] use subprocess wrapper to execute build
Modified:
cfe/trunk/tools/scan-build-py/libscanbuild/__init__.py
cfe/trunk/tools/scan-build-py/lib
hokein marked an inline comment as done.
hokein added inline comments.
Comment at: clang-tidy/misc/DefinitionsInHeadersCheck.cpp:131-135
+if (FD->getTemplateSpecializationKind() != TSK_Undeclared)
+ diag(FD->getLocation(), "this is a full function template specilization
Author: krasimir
Date: Tue Feb 14 04:35:42 2017
New Revision: 295044
URL: http://llvm.org/viewvc/llvm-project?rev=295044&view=rev
Log:
[clang-format] Remove dead code in FormatTestComments, NFC
Modified:
cfe/trunk/unittests/Format/FormatTestComments.cpp
Modified: cfe/trunk/unittests/Format/F
Author: rizsotto
Date: Tue Feb 14 04:43:38 2017
New Revision: 295045
URL: http://llvm.org/viewvc/llvm-project?rev=295045&view=rev
Log:
[scan-build-py] move function report_directory from report module to analyze
module
Differential Revision: https://reviews.llvm.org/D29255
Modified:
cfe/tru
EricWF created this revision.
The STL types `std::pair` and `std::tuple` can both store reference types.
However their constructors cannot adequately check if the initialization of
reference types is safe. For example:
std::tuple const&> t = 42;
// The stored reference is already dangling.
krasimir added inline comments.
Comment at: clangd/ASTManager.cpp:148
+ std::string Error;
+ I = tooling::CompilationDatabase::autoDetectFromSource(Uri, Error);
+ return I.get();
Do you have an idea about a proper error handling if Error?
Co
a.sidorin added a comment.
Sorry for the delay, I have commented inline.
For me, this patch looks like a strict improvement. I think, after some clean
up this can be accepted.
Comment at: lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:442
+
+const RecordDecl *RD = RT-
alexfh accepted this revision.
alexfh added a comment.
This revision is now accepted and ready to land.
Awesome! LG with one nit.
Comment at: clang-tidy/ClangTidyDiagnosticConsumer.cpp:300
+ // Now skip any newlines.
+ // FIXME: We want to skip over exactly one line, not an a
alexfh accepted this revision.
alexfh added a comment.
This revision is now accepted and ready to land.
LG. Thank you!
https://reviews.llvm.org/D29928
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/list
mati865 added a comment.
@yaron.keren, @rnk I would like to see OpenMP support by MinGW Clang but using
GCC "internal" headers is just wrong.
> For example, the most popular (37089 download this week)
> https://sourceforge.net/projects/mingw-w64 distribuion for Windows had
> elected to place t
Author: hokein
Date: Tue Feb 14 06:39:22 2017
New Revision: 295048
URL: http://llvm.org/viewvc/llvm-project?rev=295048&view=rev
Log:
[clang-tidy] Improve diagnostic message for misc-definitions-in-header.
Summary:
Users might get confused easily when they see the check's message on
full template
This revision was automatically updated to reflect the committed changes.
hokein marked an inline comment as done.
Closed by commit rL295048: [clang-tidy] Improve diagnostic message for
misc-definitions-in-header. (authored by hokein).
Changed prior to commit:
https://reviews.llvm.org/D29928?vs
Author: d0k
Date: Tue Feb 14 06:47:56 2017
New Revision: 295049
URL: http://llvm.org/viewvc/llvm-project?rev=295049&view=rev
Log:
[clang-tidy] Add support for NOLINTNEXTLINE.
Reviewers: alexfh
Subscribers: JDevlieghere, cfe-commits
Differential Revision: https://reviews.llvm.org/D29899
Added:
This revision was automatically updated to reflect the committed changes.
Closed by commit rL295049: [clang-tidy] Add support for NOLINTNEXTLINE.
(authored by d0k).
Changed prior to commit:
https://reviews.llvm.org/D29899?vs=88352&id=88353#toc
Repository:
rL LLVM
https://reviews.llvm.org/D2
bkramer updated this revision to Diff 88352.
bkramer added a comment.
- Simplify code by not worrying about \r
- Don't allow blank lines between NOLINTNEXTLINE and the warning
https://reviews.llvm.org/D29899
Files:
clang-tidy/ClangTidyDiagnosticConsumer.cpp
test/clang-tidy/nolintnextline.cp
arpith-jacob added a comment.
Hi Alexey,
Thank you for your review. The main difference in the specialized codegen (if
vs. else part in CGStmtOpenMP.cpp).
If-part: emitForStaticInit uses the Chunk parameter (else has it set to null).
If-part: does not use EmitIgnoredExpr()
I can combine if- a
The intention of the patch is to extend the functionality of annotations while utilizing existing infrastructure in the AST and IR as much as possible. Annotations are indeed a general purpose solution, sufficient for many use cases, and a complement, not mutual exclusive to pluggable attributes. A
ABataev added a comment.
In https://reviews.llvm.org/D29910#676186, @arpith-jacob wrote:
> Hi Alexey,
>
> Thank you for your review. The main difference in the specialized codegen
> (if vs. else part in CGStmtOpenMP.cpp).
>
> If-part: emitForStaticInit uses the Chunk parameter (else has it set
yaron.keren added a comment.
If something is broken now we don't break it even more.
__float128 remain be fixed to be compatible, not only some poor developer would
have to fix the missing headers bug one day, he will have to re-fix limits.h
the right way and undo this "fix".
There is a problems
mati865 added a comment.
Final decision is left for @rnk and @asl but I'm still against using GCC
"internal" headers in the way they aren't supposed to be used. And have MinGW
Clang behaving like Linux Clang.
> developer would have to fix the missing headers bug one day
Solving general Clang i
erikjv updated this revision to Diff 88366.
https://reviews.llvm.org/D29755
Files:
lib/Frontend/ASTUnit.cpp
Index: lib/Frontend/ASTUnit.cpp
===
--- lib/Frontend/ASTUnit.cpp
+++ lib/Frontend/ASTUnit.cpp
@@ -2539,14 +2539,19 @@
klimek added inline comments.
Comment at: lib/Basic/FileManager.cpp:167-168
DirNameStr = DirName.str() + '.';
+llvm::sys::path::native(DirNameStr);
+DirName = DirNameStr;
+ } else {
I'd add a canonicalizePath function that:
-> on unix just returns t
bkramer accepted this revision.
bkramer added a comment.
This revision is now accepted and ready to land.
lg
https://reviews.llvm.org/D29755
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-c
klimek added inline comments.
Comment at: clangd/ASTManager.cpp:69
+ // our one-element queue is empty.
+ if (!RequestIsPending && !Done)
+ClangRequestCV.wait(Lock);
arphaman wrote:
> This is just a suggestion based on personal opinion: `Request
etienneb added inline comments.
Comment at: clang-tidy/misc/RedundantExpressionCheck.cpp:244
+ // x != 5 || x != 10
+ if (OpcodeLHS == BO_NE || OpcodeLHS == BO_NE)
+return true;
etienneb wrote:
> The good news is that this code will be catch by this check!
redm123 created this revision.
Printing typedefs or type aliases using clang_getTypeSpelling() is missing the
namespace they are defined in. This is in contrast to other types that always
yield the full typename including namespaces.
https://reviews.llvm.org/D29944
Files:
lib/AST/TypePrinte
As an explanation for this patch my original mail to cfe-dev:
I'm using libclang to parse header files and generate code from them. I
found that clang_getTypeSpelling() usually includes the namespace(s) a
type was declared in. However with the exception being typedefs (and
same for "using A =
Sure, r295076.
Thanks,
Hans
On Sat, Feb 11, 2017 at 12:29 PM, Saleem Abdulrasool
wrote:
> Hi Hans,
>
> Would you mind grabbing this for the 4.0 release as well? It's merely
> correcting the documentation, so should have no impact on the toolchain
> itself.
>
> On Sat, Feb 11, 2017 at 9:24 AM, S
hans accepted this revision.
hans added a comment.
Thanks for writing these!
Go ahead and commit to the branch, or let me know if you'd like me to do it.
https://reviews.llvm.org/D29830
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http:/
rnk accepted this revision.
rnk added a comment.
So far as I can tell, Clang on Linux supports none of the headers under
discussion here, and that's been OK for some time. None of the headers in
question appear to actually work today, so I think we should remove them from
the search path.
Rega
dtzWill added a comment.
In https://reviews.llvm.org/D29369#673064, @vsk wrote:
> In https://reviews.llvm.org/D29369#672166, @dtzWill wrote:
>
> > After some thought, can we discuss why this is a good idea?
>
>
> The goal is to lower ubsan's compile-time + instrumentation overhead at -O0,
> sinc
Author: rnk
Date: Tue Feb 14 12:38:40 2017
New Revision: 295083
URL: http://llvm.org/viewvc/llvm-project?rev=295083&view=rev
Log:
Remove unnecessary std::string construction
Modified:
cfe/trunk/lib/Lex/PPDirectives.cpp
Modified: cfe/trunk/lib/Lex/PPDirectives.cpp
URL:
http://llvm.org/viewvc
Author: rnk
Date: Tue Feb 14 12:38:19 2017
New Revision: 295082
URL: http://llvm.org/viewvc/llvm-project?rev=295082&view=rev
Log:
Fix some warnings in intrin.h
Modified:
cfe/trunk/lib/Headers/intrin.h
Modified: cfe/trunk/lib/Headers/intrin.h
URL:
http://llvm.org/viewvc/llvm-project/cfe/trun
AlexanderLanin added a comment.
Thanks for the feedback. As I'm new to this I cannot say whether checking only
the file in question fits better with clang-tidy’s policy or not.
Also, I’m not sure about ODR. Of course, it’s a possibility, but isn’t the
programmer responsible for that? This will b
Author: vedantk
Date: Tue Feb 14 12:49:03 2017
New Revision: 295085
URL: http://llvm.org/viewvc/llvm-project?rev=295085&view=rev
Log:
[profiling] Update test case to deal with name variable change (NFC)
The 'profn' name variables shouldn't show up after we run the instrprof
pass, see https://revi
v.g.vassilev created this revision.
Currently, we load all template specialization if we have more than one module
attached and we touch anything around the template definition.
This patch registers the template specializations as a lazily-loadable
entities. This reduces the amount of deseriali
ahatanak added a comment.
Posting John's review comment, which was sent to the review I abandoned:
"Hmm. The behavior I think we actually want here is that we should move out of
the __block variable but not perform NRVO, essentially like we would if the
variable were a parameter.
The block by
I'm guessing this isn't addressing a new issue in 4.0, so perhaps we
should take the safe alternative and not merge this one.
Thanks,
Hans
On Thu, Feb 9, 2017 at 11:35 PM, Eric Fiselier wrote:
> I'm a bit paranoid one of the names we just qualified will end up being
> defined as a macro. Conceiv
yaron.keren added a comment.
OK.
https://reviews.llvm.org/D29464
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Merged in r295087.
On Fri, Feb 10, 2017 at 5:00 PM, Hans Wennborg wrote:
> Sgtm. Go ahead and merge when the bots have chewed on it for a bit,
> otherwise I'll do it next week.
>
> Thanks,
> Hans
>
> On Fri, Feb 10, 2017 at 3:06 PM, George Burgess IV
> wrote:
>> Hi Hans!
>>
>> This fixes PR31843
ahatanak added a comment.
In https://reviews.llvm.org/D29908#676589, @ahatanak wrote:
> Posting John's review comment, which was sent to the review I abandoned:
>
> "Hmm. The behavior I think we actually want here is that we should move out
> of the __block variable but not perform NRVO, essent
arpith-jacob updated this revision to Diff 88407.
arpith-jacob added a comment.
Use SizeTy instead of assuming 64 bits!
https://reviews.llvm.org/D29879
Files:
lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
lib/CodeGen/CGStmtOpenMP.cpp
test/OpenMP/nvptx_teams_reduction_codegen.cpp
Index: test/OpenM
arpith-jacob marked 8 inline comments as done.
arpith-jacob added a comment.
Alexey, thank you for your review. I have used SizeTy instead of assuming
64-bits.
Comment at: lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp:725
+/*isVarArg=*/false);
+llvm
JDevlieghere updated this revision to Diff 88409.
JDevlieghere marked 4 inline comments as done.
JDevlieghere added a comment.
- Updated the diff with comments from @alexfh
Thanks for mentioning the check fixes pattern, it's quite crucial but I never
really thought about that!
Repository:
rL
Author: gbiv
Date: Tue Feb 14 13:34:33 2017
New Revision: 295094
URL: http://llvm.org/viewvc/llvm-project?rev=295094&view=rev
Log:
Finish a comment + remove trailing whitespace. NFC
Modified:
cfe/trunk/include/clang/AST/DeclBase.h
Modified: cfe/trunk/include/clang/AST/DeclBase.h
URL:
http:/
hokein created this revision.
Herald added a subscriber: JDevlieghere.
https://reviews.llvm.org/D29957
Files:
clang-tidy/misc/DefinitionsInHeadersCheck.cpp
test/clang-tidy/misc-definitions-in-headers.hpp
Index: test/clang-tidy/misc-definitions-in-headers.hpp
Author: vedantk
Date: Tue Feb 14 14:03:53 2017
New Revision: 295100
URL: http://llvm.org/viewvc/llvm-project?rev=295100&view=rev
Log:
Revert "[profiling] Update test case to deal with name variable change (NFC)"
This reverts commit r295085, because the corresponding llvm change was
reverted.
Mod
Author: vedantk
Date: Tue Feb 14 14:03:56 2017
New Revision: 295101
URL: http://llvm.org/viewvc/llvm-project?rev=295101&view=rev
Log:
[profiling] Update test cases to deal with name variable change (NFC)
This is a re-try of r295085: fix up some test cases that assume that
profile name variables a
aaron.ballman added inline comments.
Comment at: clang-tidy/cert/DontModifyStdNamespaceCheck.cpp:34
+
+ diag(N->getLocation(),
+ "modification of '%0' namespace can result in undefined behavior")
I think this will still trigger false positives because ther
rsmith accepted this revision.
rsmith added inline comments.
This revision is now accepted and ready to land.
Comment at: lib/AST/ExprConstant.cpp:428-429
+llvm::DenseMap LambdaCaptureFields;
+FieldDecl *LambdaThisCaptureField;
+
I'm a little concerned
majnemer added inline comments.
Comment at: include/clang/Basic/TokenKinds.def:418
TYPE_TRAIT_N(__is_nothrow_constructible, IsNothrowConstructible, KEYCXX)
+TYPE_TRAIT_N(__is_direct_constructible, IsDirectConstructible, KEYCXX)
Should this trait be grouped her
arpith-jacob updated this revision to Diff 88423.
arpith-jacob added a comment.
Hi Alexey,
Thank you for reviewing this patch.
> I don't like the idea of adding some kind of default scheduling, that is not
> defined in standard in Sema
Actually, "default scheduling" is defined in the OpenMP sp
rjmccall added a comment.
In https://reviews.llvm.org/D29908#676601, @ahatanak wrote:
> In https://reviews.llvm.org/D29908#676589, @ahatanak wrote:
>
> > Posting John's review comment, which was sent to the review I abandoned:
> >
> > "Hmm. The behavior I think we actually want here is that we s
vsk added a comment.
In https://reviews.llvm.org/D29369#676521, @dtzWill wrote:
> In https://reviews.llvm.org/D29369#673064, @vsk wrote:
>
> > In https://reviews.llvm.org/D29369#672166, @dtzWill wrote:
> >
> > > After some thought, can we discuss why this is a good idea?
> >
> >
> > The goal is t
Author: rnk
Date: Tue Feb 14 15:38:17 2017
New Revision: 295107
URL: http://llvm.org/viewvc/llvm-project?rev=295107&view=rev
Log:
MS inline asm: Filter MXCSR out of the inferred clobber list
Since r295004, LLVM has started modelling this new register, but we
don't have GCC constraint inline asm s
ahatanak updated this revision to Diff 88430.
ahatanak added a comment.
Update comment.
https://reviews.llvm.org/D29908
Files:
lib/Sema/SemaStmt.cpp
test/SemaObjCXX/blocks.mm
Index: test/SemaObjCXX/blocks.mm
===
--- test/Sema
ahatanak added a comment.
In https://reviews.llvm.org/D29908#676788, @rjmccall wrote:
> Oh, I see. Just to clarify: it doesn't matter that the object "ret" used to
> point to has been destructed, what matters is that "ret" now holds a null
> reference because it's been moved out of.
Yes, tha
asl accepted this revision.
asl added a comment.
This revision is now accepted and ready to land.
We shouldn't add resource dirs to the path. After all, these headers could use,
for example, gcc-only extensions.
https://reviews.llvm.org/D29464
___
rsmith added a comment.
I don't like this name; it sounds too much like you're asking whether a certain
direct-initialization is possible, which is what `__is_constructible` does. I
also don't like the idea of combining an "is this type direct-initializable
from this list of arguments" check wi
EricWF added a comment.
In https://reviews.llvm.org/D29930#676858, @rsmith wrote:
> I don't like this name; it sounds too much like you're asking whether a
> certain direct-initialization is possible, which is what `__is_constructible`
> does. I also don't like the idea of combining an "is this
AlexanderLanin marked 5 inline comments as done.
AlexanderLanin added inline comments.
Comment at: clang-tidy/modernize/UseConstInsteadOfDefineCheck.cpp:86
+else if (isAnyParenthesis(Tok) || isAnyNumericLiteral(Tok) ||
+ (!hasPrefix && isAnyCharLiteral(Tok))) {
+
herzka created this revision.
Before this fix, trying to set a class property using dot syntax would always
use the constructed name (setX:), which might not match the real selector if
the setter is specified via the `setter` property attribute. Now, the setter
selector in the declaration has p
herzka planned changes to this revision.
herzka added a comment.
This issue applies to getters too. I'll make this fix broader.
I think the real fix for both is to construct the ObjCPropertyRefExpr using the
ObjCPropertyDecl so that it's considered an explicit property. Currently, it
still gets
AlexanderLanin updated this revision to Diff 88447.
AlexanderLanin marked an inline comment as done.
AlexanderLanin added a comment.
Applied review comments and added test cases regarding parenthesis, floats,
doubles, wide chars etc
https://reviews.llvm.org/D29692
Files:
clang-tidy/modernize
herzka updated this revision to Diff 88448.
herzka retitled this revision from "Get class property setter selector from
property decl if exists" to "Get class property selectors from property decl if
it exists".
herzka edited the summary of this revision.
https://reviews.llvm.org/D29967
Files:
Author: rsmith
Date: Tue Feb 14 16:44:20 2017
New Revision: 295113
URL: http://llvm.org/viewvc/llvm-project?rev=295113&view=rev
Log:
[Driver] Report available language standards on user error
In case user did not provide valid standard name for -std option, available
values (with short descriptio
rsmith added a comment.
Committed as r295113.
https://reviews.llvm.org/D29724
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: aaronballman
Date: Tue Feb 14 16:47:20 2017
New Revision: 295114
URL: http://llvm.org/viewvc/llvm-project?rev=295114&view=rev
Log:
Improve diagnostic reporting when using __declspec without enabling __declspec
as a keyword.
Fixes PR31936.
Added:
cfe/trunk/test/Parser/declspec-recove
aaron.ballman closed this revision.
aaron.ballman added a comment.
Commit in r295114.
https://reviews.llvm.org/D29868
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
arphaman added a comment.
Can you please post the patch with full context
(http://llvm.org/docs/Phabricator.html#requesting-a-review-via-the-web-interface)?
https://reviews.llvm.org/D29967
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
htt
mati865 added a comment.
If there are no further objections it can be committed by somebody.
https://reviews.llvm.org/D29464
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: rsmith
Date: Tue Feb 14 17:27:44 2017
New Revision: 295118
URL: http://llvm.org/viewvc/llvm-project?rev=295118&view=rev
Log:
Do not implicitly instantiate the definition of a class template specialization
that has been explicitly specialized!
We assume in various places that we can tell t
Author: rsmith
Date: Tue Feb 14 17:41:38 2017
New Revision: 295122
URL: http://llvm.org/viewvc/llvm-project?rev=295122&view=rev
Log:
Stop asserting when a meaningless -std= flag is passed for a non-compilation
input kind; go back to silently ignoring the flag.
Added:
cfe/trunk/test/Driver/unk
Author: timshen
Date: Tue Feb 14 17:46:37 2017
New Revision: 295123
URL: http://llvm.org/viewvc/llvm-project?rev=295123&view=rev
Log:
[VLA] Handle VLA size expression in a full-expression context.
Summary: Previously the cleanups (e.g. dtor calls) are inserted into the
outer scope (e.g. function
This revision was automatically updated to reflect the committed changes.
Closed by commit rL295123: [VLA] Handle VLA size expression in a
full-expression context. (authored by timshen).
Changed prior to commit:
https://reviews.llvm.org/D24333?vs=86377&id=88464#toc
Repository:
rL LLVM
https
tigerleapgorge created this revision.
Herald added a subscriber: mehdi_amini.
I am continuing to make Lit tests C++11 compatible.
This patch contains 2 tests previously in https://reviews.llvm.org/D20710.
In both tests, I have made the base class destructors “protected” so they are
accessible to
Author: rtrieu
Date: Tue Feb 14 17:56:55 2017
New Revision: 295125
URL: http://llvm.org/viewvc/llvm-project?rev=295125&view=rev
Log:
Remove unused variable. No functional change.
Modified:
cfe/trunk/lib/Parse/ParseDecl.cpp
Modified: cfe/trunk/lib/Parse/ParseDecl.cpp
URL:
http://llvm.org/vi
Author: timshen
Date: Tue Feb 14 18:01:12 2017
New Revision: 295127
URL: http://llvm.org/viewvc/llvm-project?rev=295127&view=rev
Log:
[VLA] Fix the test failure on msvc by specifying the triple.
Differential Revision: https://reviews.llvm.org/D24333
Modified:
cfe/trunk/test/Sema/pr30306.cpp
mehdi_amini added a comment.
In https://reviews.llvm.org/D13330#582607, @rsmith wrote:
> I think this attribute is poorly named. Explicit instantiation definitions
> are *already* required to be globally unique; see [temp.spec]/5.1:
>
> "For a given template and a given set of template-arguments
Author: rsmith
Date: Tue Feb 14 19:13:54 2017
New Revision: 295139
URL: http://llvm.org/viewvc/llvm-project?rev=295139&view=rev
Log:
Refactor GCC lib directory detection to make it easier to add lib directories
that are only checked for some targets.
Modified:
cfe/trunk/lib/Driver/ToolChains.
Author: rsmith
Date: Tue Feb 14 19:16:48 2017
New Revision: 295140
URL: http://llvm.org/viewvc/llvm-project?rev=295140&view=rev
Log:
Don't look for GCC versions in /usr/lib/ except when is a
freescale triple.
On multiarch systems, this previously caused us to stat every file in
/usr/lib/ (typica
On 9 February 2017 at 16:15, Hal Finkel via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> On 02/09/2017 04:58 PM, Chandler Carruth wrote:
>
> On Thu, Feb 9, 2017 at 2:46 PM Tobias von Koch
> wrote:
>
>> On Wed, Feb 8, 2017 at 7:21 PM, Chandler Carruth
>> wrote:
>>
>>
>> +// The Freescal
Hi Richard,
It looks like this commit causes an assertion failure when the following code
is compiled:
$ cat test1.cpp
template
struct S3 {
};
template
struct S2 {
S2(S3 &&);
};
template
struct S1 : S2 {
using S2::S2;
S1();
};
template
struct S0 {
S0();
S0(S0&&) = default;
S1 m1;
Yes, you are correct: clang implicitly marks indirect parameters with
__autoreleasing.
The whole purpose of Wblock-capture-autoreleasing (which was committed in
r285031) is to inform the users that clang has implicitly marked an
out-parameter as __autoreleasing. clang doesn’t warn if the user e
ahatanak added a comment.
My question probably wasn't clear, but I wasn't sure how template functions in
general (not just member functions) should be handled.
I see a warning when the following function is compiled:
template
T __attribute__((alloc_align(1))) foo0(int a) {
typedef type
1 - 100 of 109 matches
Mail list logo