kromanova created this revision.
kromanova added a reviewer: m_zuckerman.
kromanova added a subscriber: cfe-commits.
kromanova set the repository for this revision to rL LLVM.
Clean up: remove trailing spaces in x86 intrinsic headers.
Repository:
rL LLVM
http://reviews.llvm.org/D20614
Files:
bader added a subscriber: bader.
bader added a comment.
In http://reviews.llvm.org/D20602#438667, @rsmith wrote:
> I'm not suggesting it be treated as invalid. This extension is part of at
> least OpenCL 2.1, but it's not part of OpenCL 1.0. `ext_vector_type` is
> Clang's implementation of the
Author: rksimon
Date: Wed May 25 04:20:08 2016
New Revision: 270679
URL: http://llvm.org/viewvc/llvm-project?rev=270679&view=rev
Log:
[X86][SSE] Updated _mm_store_ps1 test to match _mm_store1_ps
Modified:
cfe/trunk/test/CodeGen/sse-builtins.c
Modified: cfe/trunk/test/CodeGen/sse-builtins.c
U
ogoffart added a comment.
Is this better than the alternative http://reviews.llvm.org/D19764 ?
http://reviews.llvm.org/D19327
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
ogoffart added a comment.
I believe this is trivial so i will just commit it.
http://reviews.llvm.org/D20511
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: d0k
Date: Wed May 25 04:44:35 2016
New Revision: 270682
URL: http://llvm.org/viewvc/llvm-project?rev=270682&view=rev
Log:
[clang-tidy] Fix typo in test file name.
polo
Added:
clang-tools-extra/trunk/test/clang-tidy/modernize-pass-by-value-macro-header.cpp
- copied, changed fro
rengolin added a comment.
LGTM. James? Bradley? Tim?
Repository:
rL LLVM
http://reviews.llvm.org/D20089
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jmolloy added a comment.
As far as I'm concerned, if you're happy I'm happy. You know this area more
than me.
Repository:
rL LLVM
http://reviews.llvm.org/D20089
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bi
Prazek added inline comments.
Comment at: include/llvm-c/Core.h:604
@@ -603,3 +603,3 @@
*/
-LLVMBool LLVMPrintModuleToFile(LLVMModuleRef M, const char *Filename,
+bool LLVMPrintModuleToFile(LLVMModuleRef M, const char *Filename,
char **ErrorMessag
EricWF added a comment.
In http://reviews.llvm.org/D16948#438880, @rmaprath wrote:
> Looks like I've completely missed this patch somehow. Will try to find some
> time (or someone) to have a look at it from an embedded-systems / ARM point
> of view asap.
>
> Great work!!!
Thanks! Even just at
RKSimon created this revision.
RKSimon added reviewers: craig.topper, spatel, andreadb.
RKSimon added a subscriber: cfe-commits.
RKSimon set the repository for this revision to rL LLVM.
According to the gcc headers, intel intrinsics docs and msdn codegen the
_mm_store1_ps/_mm_store1_pd (and their
Hi,
Thanks for the information. One more question. Does the following folder exist?
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Driver/Inputs/mips_img_v2_tree/lib/gcc/mips-img-linux-gnu/4.9.2/../../../../mips-img-linux-gnu/include/c++/4.9.2
On Wed, May 25, 2016 at 9:55 AM, Ismail Donmez w
Hi,
On Wed, May 25, 2016 at 1:32 PM, Simon Atanasyan wrote:
> Hi,
>
> Thanks for the information. One more question. Does the following folder
> exist?
>
> /home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Driver/Inputs/mips_img_v2_tree/lib/gcc/mips-img-linux-gnu/4.9.2/../../../../mips-img-linux
deadalnix requested changes to this revision.
This revision now requires changes to proceed.
Comment at: include/llvm-c/Core.h:604
@@ -603,3 +603,3 @@
*/
-LLVMBool LLVMPrintModuleToFile(LLVMModuleRef M, const char *Filename,
+bool LLVMPrintModuleToFile(LLVMModuleRef M, const cha
m_zuckerman added a comment.
First thanks
I don't see any problem with the patch.
but if you can please add full svn diff from clang.
svn diff --diff-cmd=diff -x -U99 > x.patch
Repository:
rL LLVM
http://reviews.llvm.org/D20614
___
cfe-co
Author: dzobnin
Date: Wed May 25 06:32:42 2016
New Revision: 270686
URL: http://llvm.org/viewvc/llvm-project?rev=270686&view=rev
Log:
[ms][dll] #26935 Defining a dllimport function should cause it to be exported
If we have some function with dllimport attribute and then we have the function
defin
This revision was automatically updated to reflect the committed changes.
Closed by commit rL270686: [ms][dll] #26935 Defining a dllimport function
should cause it to be exported (authored by dzobnin).
Changed prior to commit:
http://reviews.llvm.org/D18953?vs=58233&id=58401#toc
Repository:
Anastasia updated this revision to Diff 58403.
Anastasia marked an inline comment as done.
Anastasia added a comment.
Updates from Alexey's comments:
- Use canonical type while casting to block.
- Added failing case to Sema tests.
- Modified CodeGen tests due to captures ordering issue.
http://
Anastasia marked 2 inline comments as done.
Comment at: lib/Sema/SemaChecking.cpp:81
@@ +80,3 @@
+static bool checkBlockArgs(Sema &S, Expr *BlockArg) {
+ const BlockPointerType *BPT = cast(BlockArg->getType());
+ ArrayRef Params =
bader wrote:
> There should be
rengolin accepted this revision.
rengolin added a comment.
This revision is now accepted and ready to land.
Looks great, thanks Jojo!
Repository:
rL LLVM
http://reviews.llvm.org/D20088
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http:
rengolin accepted this revision.
rengolin added a comment.
This revision is now accepted and ready to land.
In http://reviews.llvm.org/D20089#438937, @jmolloy wrote:
> As far as I'm concerned, if you're happy I'm happy. You know this area more
> than me.
Ok, I'll go ahead and commit this, and
Author: rengolin
Date: Wed May 25 07:02:58 2016
New Revision: 270688
URL: http://llvm.org/viewvc/llvm-project?rev=270688&view=rev
Log:
[AArch64] Using new TargetParser in Clang
Using AArch64TargetParser in clang to avoid repetitive string parsing.
Use TargetParser to do ARCH/CPU/ArchExt parsing
rengolin closed this revision.
rengolin added a comment.
Committed in r270687.
Repository:
rL LLVM
http://reviews.llvm.org/D20089
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
rengolin closed this revision.
rengolin added a comment.
Committed in r270688.
Repository:
rL LLVM
http://reviews.llvm.org/D20088
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
rogfer01 added a comment.
I think this has become obsolete as of
http://llvm.org/viewvc/llvm-project?view=revision&revision=270688
http://reviews.llvm.org/D20283
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/
Author: rengolin
Date: Wed May 25 07:16:28 2016
New Revision: 270689
URL: http://llvm.org/viewvc/llvm-project?rev=270689&view=rev
Log:
[AArch64] Try to fix test from r270688 with unordered output
Modified:
cfe/trunk/test/Preprocessor/aarch64-target-features.c
Modified: cfe/trunk/test/Preproc
Author: abataev
Date: Wed May 25 07:36:08 2016
New Revision: 270690
URL: http://llvm.org/viewvc/llvm-project?rev=270690&view=rev
Log:
[OPENMP 4.5] Codegen for dacross loop synchronization constructs.
OpenMP 4.5 adds support for doacross loop synchronization. Patch
implements codegen for this cons
Author: asiri
Date: Wed May 25 07:36:34 2016
New Revision: 270692
URL: http://llvm.org/viewvc/llvm-project?rev=270692&view=rev
Log:
Introduce a native-only unwinder build.
Currently libunwind is built to support cross-unwinding [1] by default, which
requires the buffers unw_context_t and unw_curs
Author: rengolin
Date: Wed May 25 07:36:31 2016
New Revision: 270691
URL: http://llvm.org/viewvc/llvm-project?rev=270691&view=rev
Log:
Revert "[AArch64] Using new TargetParser in Clang"
This reverts commit r270688 and r270689. The issue is not a random order, but a
different order for some target
rmaprath added a comment.
Committed as r270692. But I forgot to mention this phab review in the commit
message. Sigh.
http://reviews.llvm.org/D20119
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listi
Author: abataev
Date: Wed May 25 07:51:24 2016
New Revision: 270693
URL: http://llvm.org/viewvc/llvm-project?rev=270693&view=rev
Log:
Fix build problem in MSVC
Modified:
cfe/trunk/lib/AST/OpenMPClause.cpp
Modified: cfe/trunk/lib/AST/OpenMPClause.cpp
URL:
http://llvm.org/viewvc/llvm-project/
m_zuckerman created this revision.
m_zuckerman added reviewers: AsafBadouh, igorb, delena.
m_zuckerman added a subscriber: cfe-commits.
http://reviews.llvm.org/D20618
Files:
lib/Headers/avx512fintrin.h
test/CodeGen/avx512f-builtins.c
Index: lib/Headers/avx512fintrin.h
===
AsafBadouh accepted this revision.
AsafBadouh added a comment.
This revision is now accepted and ready to land.
LGTM
http://reviews.llvm.org/D20523
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinf
AsafBadouh accepted this revision.
AsafBadouh added a comment.
This revision is now accepted and ready to land.
LGTM with small fix
Comment at: test/CodeGen/avx512f-builtins.c:341
@@ +340,3 @@
+ // CHECK: insertelement <64 x i8> {{.*}}, i32 6
+ // CHECK: insertelement <64 x i8
m_zuckerman created this revision.
m_zuckerman added reviewers: AsafBadouh, igorb, delena.
m_zuckerman added a subscriber: cfe-commits.
We don't need to multiply by eight the IMM. The instruction is doing that.
http://reviews.llvm.org/D20620
Files:
lib/Headers/avx512bwintrin.h
Index: lib/Hea
igorb accepted this revision.
igorb added a comment.
This revision is now accepted and ready to land.
LGTM
http://reviews.llvm.org/D20620
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-comm
hokein created this revision.
hokein added a reviewer: bkramer.
hokein added subscribers: ioeric, cfe-commits.
Some changes in the patch:
* Add two commandline flags in clang-include-fixer.
* Introduce a IncludeFixerContext for the queried symbol.
* Pull out CreateReplacementsForHeader.
http://r
Author: ioeric
Date: Wed May 25 08:53:33 2016
New Revision: 270696
URL: http://llvm.org/viewvc/llvm-project?rev=270696&view=rev
Log:
[include-fixer] moved STLPostfixMap into findAllSymbols library and make it a
static variable in function.
Summary: [include-fixer] moved STLPostfixMap into findAl
hokein added a comment.
Oh, sorry, I miss two separate commits here. This patch should not be ready
for review. I need to rebase it after commit http://reviews.llvm.org/D20581.
http://reviews.llvm.org/D20621
___
cfe-commits mailing list
cfe-commit
This revision was automatically updated to reflect the committed changes.
Closed by commit rL270696: [include-fixer] moved STLPostfixMap into
findAllSymbols library and make it a… (authored by ioeric).
Changed prior to commit:
http://reviews.llvm.org/D20619?vs=58408&id=58410#toc
Repository:
aturetsk added a comment.
Ping.
http://reviews.llvm.org/D19274
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: mzuckerm
Date: Wed May 25 09:04:21 2016
New Revision: 270699
URL: http://llvm.org/viewvc/llvm-project?rev=270699&view=rev
Log:
[Clang][AVX512][BUILTIN] Add missing intrinsics for cast
Differential Revision: http://reviews.llvm.org/D20523
Modified:
cfe/trunk/lib/Headers/avx512fintrin
This revision was automatically updated to reflect the committed changes.
Closed by commit rL270699: [Clang][AVX512][BUILTIN] Add missing intrinsics for
cast (authored by mzuckerm).
Changed prior to commit:
http://reviews.llvm.org/D20523?vs=58095&id=58411#toc
Repository:
rL LLVM
http://revi
Author: hokein
Date: Wed May 25 09:06:12 2016
New Revision: 270700
URL: http://llvm.org/viewvc/llvm-project?rev=270700&view=rev
Log:
[include-fixer] Simplify the code since we won't handle multiple includes at
once.
Reviewers: bkramer
Subscribers: cfe-commits
Differential Revision: http://revi
This revision was automatically updated to reflect the committed changes.
Closed by commit rL270700: [include-fixer] Simplify the code since we won't
handle multiple includes at… (authored by hokein).
Changed prior to commit:
http://reviews.llvm.org/D20581?vs=58272&id=58412#toc
Repository:
r
Author: d0k
Date: Wed May 25 09:14:52 2016
New Revision: 270701
URL: http://llvm.org/viewvc/llvm-project?rev=270701&view=rev
Log:
Include local header with quotes instead of angle brackets.
This works by accident because we pass '-I.'
Modified:
clang-tools-extra/trunk/include-fixer/find-all-
Author: nico
Date: Wed May 25 09:15:08 2016
New Revision: 270702
URL: http://llvm.org/viewvc/llvm-project?rev=270702&view=rev
Log:
Fix mangled name of method with ns_consumed parameters.
When a function/method use a parameter with "ns_consumed" attribute,
ensure that the mangled name is the same
hokein updated this revision to Diff 58415.
hokein added a comment.
Rebase
http://reviews.llvm.org/D20621
Files:
include-fixer/IncludeFixer.cpp
include-fixer/IncludeFixer.h
include-fixer/IncludeFixerContext.h
include-fixer/tool/ClangIncludeFixer.cpp
include-fixer/tool/clang-include-fi
Author: ioeric
Date: Wed May 25 09:17:09 2016
New Revision: 270703
URL: http://llvm.org/viewvc/llvm-project?rev=270703&view=rev
Log:
[include-fixer] /usr/include/xlocal.h to include/xlocal.h in hardcoded map.
Modified:
clang-tools-extra/trunk/include-fixer/find-all-symbols/STLPostfixHeaderMa
thakis added a subscriber: thakis.
thakis accepted this revision.
thakis added a reviewer: thakis.
thakis added a comment.
This revision is now accepted and ready to land.
We use phabricator not very dogmatically. If John says this looks good, then
this looks good, even if phab didn't get the mes
This is because OpenCL sets C99 flag as being superset of it. If you check in
clang/Frontend/LangStandards.def
LANGSTANDARD(opencl, "cl",
"OpenCL 1.0",
LineComment | C99 | Digraphs | HexFloat)
We should undo this change as it leaves no possibility to specify an OpenCL
hokein updated this revision to Diff 58420.
hokein added a comment.
Fix a nit.
http://reviews.llvm.org/D20621
Files:
include-fixer/IncludeFixer.cpp
include-fixer/IncludeFixer.h
include-fixer/IncludeFixerContext.h
include-fixer/tool/ClangIncludeFixer.cpp
include-fixer/tool/clang-includ
Author: d0k
Date: Wed May 25 09:30:01 2016
New Revision: 270704
URL: http://llvm.org/viewvc/llvm-project?rev=270704&view=rev
Log:
[AVX512] Don't rely on value names. They're different in release builds.
Modified:
cfe/trunk/test/CodeGen/avx512f-builtins.c
Modified: cfe/trunk/test/CodeGen/avx5
rmaprath closed this revision.
rmaprath added a comment.
Accepted + closed. Patch committed as r270692.
http://reviews.llvm.org/D20119
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
I will take a look. Thanks.
Sam
-Original Message-
From: Anastasia Stulova [mailto:anastasia.stul...@arm.com]
Sent: Wednesday, May 25, 2016 10:29 AM
To: Liu, Yaxun (Sam) ; cfe-commits@lists.llvm.org
Cc: nd
Subject: RE: r267590 - [OpenCL] Add predefined macros.
This is because OpenCL se
Anastasia added inline comments.
Comment at: test/SemaOpenCL/extension-version.cl:11
@@ +10,3 @@
+#endif
+#pragma OPENCL EXTENSION cl_clang_storage_class_specifiers: enable
+
jvesely wrote:
> Anastasia wrote:
> > jvesely wrote:
> > > Anastasia wrote:
> > > > Could
Great! Thanks!
Anastasia
-Original Message-
From: Liu, Yaxun (Sam) [mailto:yaxun@amd.com]
Sent: 25 May 2016 15:46
To: Anastasia Stulova; cfe-commits@lists.llvm.org
Cc: nd
Subject: RE: r267590 - [OpenCL] Add predefined macros.
I will take a look. Thanks.
Sam
-Original Message--
ioeric added inline comments.
Comment at: include-fixer/IncludeFixer.cpp:241
@@ -280,5 +240,3 @@
/// \return true if changes will be made, false otherwise.
- bool Rewrite(clang::SourceManager &SourceManager,
- clang::HeaderSearch &HeaderSearch,
- st
rmaprath added inline comments.
Comment at: include/__threading_support:201
@@ +200,3 @@
+// Mutex
+#define _LIBCPP_MUTEX_INITIALIZER nullptr
+struct __libcpp_platform_mutex_t;
rmaprath wrote:
> bcraig wrote:
> > rmaprath wrote:
> > > bcraig wrote:
> > > > rmaprat
sfantao added inline comments.
Comment at: lib/CodeGen/CGOpenMPRuntime.cpp:4874-4878
@@ -4881,1 +4873,7 @@
+OMP_MAP_IS_PTR = 0x10,
+/// \brief This flags signals that an argument is the first one relating to
+/// a map/private clause expression. For some cases a single
Can you double check gcc's xmmintrin.h again. I'm pretty sure _mm_store1_ps
is calling _mm_storeu_ps.
On Wed, May 25, 2016 at 3:31 AM, Simon Pilgrim
wrote:
> RKSimon created this revision.
> RKSimon added reviewers: craig.topper, spatel, andreadb.
> RKSimon added a subscriber: cfe-commits.
> RKS
Author: mzuckerm
Date: Wed May 25 10:05:03 2016
New Revision: 270707
URL: http://llvm.org/viewvc/llvm-project?rev=270707&view=rev
Log:
[Clang][AVX512][Builtin] Fix palignr intrinsics header
Differential Revision: http://reviews.llvm.org/D20620
Modified:
cfe/trunk/lib/Headers/avx512bwintrin.h
This revision was automatically updated to reflect the committed changes.
Closed by commit rL270707: [Clang][AVX512][Builtin] Fix palignr intrinsics
header (authored by mzuckerm).
Changed prior to commit:
http://reviews.llvm.org/D20620?vs=58406&id=58425#toc
Repository:
rL LLVM
http://review
Author: rksimon
Date: Wed May 25 10:10:49 2016
New Revision: 270708
URL: http://llvm.org/viewvc/llvm-project?rev=270708&view=rev
Log:
[X86][AVX2] Full set of AVX2 intrinsics tests
llvm/test/CodeGen/X86/avx2-intrinsics-fast-isel.ll will be synced to this
Modified:
cfe/trunk/test/CodeGen/avx2-
bcraig added inline comments.
Comment at: include/__threading_support:201
@@ +200,3 @@
+// Mutex
+#define _LIBCPP_MUTEX_INITIALIZER nullptr
+struct __libcpp_platform_mutex_t;
rmaprath wrote:
> rmaprath wrote:
> > bcraig wrote:
> > > rmaprath wrote:
> > > > bcraig
m_zuckerman created this revision.
m_zuckerman added reviewers: AsafBadouh, igorb, delena.
m_zuckerman added a subscriber: cfe-commits.
http://reviews.llvm.org/D20626
Files:
lib/Headers/avx512fintrin.h
test/CodeGen/avx512f-builtins.c
Index: lib/Headers/avx512fintrin.h
===
RKSimon added a comment.
In http://reviews.llvm.org/D20617#439200, @craig.topper wrote:
> Can you double check gcc's xmmintrin.h again. I'm pretty sure _mm_store1_ps
> is calling _mm_storeu_ps.
Yes you're right - for gcc _mm_store1_pd is aligned (and there is a comment
saying it must be), but
bcraig added a comment.
In http://reviews.llvm.org/D20334#438052, @ahatanak wrote:
> My understanding is that typically std::ends is explicitly appended to
> null-terminate the stream buffer. The test case in the example does that.
>
> http://en.cppreference.com/w/cpp/io/ostrstream/str
Doh! Y
Anastasia added inline comments.
Comment at: include/clang/Basic/LangOptions.def:219
@@ -218,3 +218,3 @@
ENUM_LANGOPT(AddressSpaceMapMangling , AddrSpaceMapMangling, 2, ASMM_Target,
"OpenCL address space map mangling mode")
-
+LANGOPT(NoDefaultHeader, 1, 0, "Do not include defau
Anastasia added a comment.
@pxli168, do you still plan to update this? I think the implicit declarations
would be quite useful to have.
http://reviews.llvm.org/D17438
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi
Anastasia accepted this revision.
Anastasia added a comment.
LGTM! Thanks!
http://reviews.llvm.org/D18369
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
majnemer accepted this revision.
majnemer added a comment.
This revision is now accepted and ready to land.
LGTM
Comment at: lib/Sema/SemaExprCXX.cpp:937
@@ -936,2 +936,3 @@
+ CXXThisTypeQuals &= Qualifiers::FastMask;
S.CXXThisTypeOverride
Can you add
yaxunl created this revision.
yaxunl added a reviewer: Anastasia.
yaxunl added subscribers: pxli168, bader, tstellarAMD, cfe-commits.
Fix a regression which forbids using -std=CL|CL1.1|CL1.2|CL2.0 in driver.
Changed -std=cl to -std=CL to match -cl-std=CL.
http://reviews.llvm.org/D20630
Files:
sbenza updated this revision to Diff 58438.
sbenza marked an inline comment as done.
sbenza added a comment.
Reformat code
http://reviews.llvm.org/D20597
Files:
clang-tidy/readability/FunctionSizeCheck.cpp
clang-tidy/readability/FunctionSizeCheck.h
Index: clang-tidy/readability/FunctionSiz
Author: sbenza
Date: Wed May 25 11:19:23 2016
New Revision: 270714
URL: http://llvm.org/viewvc/llvm-project?rev=270714&view=rev
Log:
Speed up check by using a recursive visitor.
Summary:
Use a recursive visitor instead of forEachDescendant() matcher.
The latter requires several layers of virtual
This revision was automatically updated to reflect the committed changes.
Closed by commit rL270714: Speed up check by using a recursive visitor.
(authored by sbenza).
Changed prior to commit:
http://reviews.llvm.org/D20597?vs=58438&id=58440#toc
Repository:
rL LLVM
http://reviews.llvm.org/D
bcraig added a comment.
LGTM. You probably need to get an approval from someone else though, as I
haven't really established myself in the libunwind code base.
As a side note... one of these days clang / llvm stack compaction may actually
work reasonably well, and tricks like this won't be nec
hans added a comment.
In http://reviews.llvm.org/D20608#438760, @majnemer wrote:
> Does this change our behavior for mingw?
No, this only affects the MS ABI.
MinGW doesn't seem to do this trick. For example, in this code, they will emit
a definition for S::Inner::f:
template struct S {
hokein updated this revision to Diff 58448.
hokein marked 6 inline comments as done.
hokein added a comment.
Update and address comments.
http://reviews.llvm.org/D20621
Files:
include-fixer/IncludeFixer.cpp
include-fixer/IncludeFixer.h
include-fixer/IncludeFixerContext.h
include-fixer/t
bkramer added a comment.
Can you add some lit tests for the various command line modes
clang-include-fixer has now. We can't reasonably test the vim integration but
we can tests the bits it's composed of.
http://reviews.llvm.org/D20621
___
cfe-com
bkramer added inline comments.
Comment at: include-fixer/IncludeFixer.h:51
@@ -50,6 +50,3 @@
- /// Headers to be added.
- std::set &Headers;
-
- /// Replacements are written here.
- std::vector &Replacements;
+ /// The context that contains all information about queried sym
thakis added a comment.
Looks great, thanks! A few minor questions below.
I verified that this has the same effect as my brute-force patch I tried
locally.
Do we have test coverage for `template class __declspec(dllexport)
codecvt;` somewhere already?
Comment at: lib/Sema/Se
Zombie review comment: ".test" isn't part of test/lit.cfg::config.suffixes,
so the two .test files added in this change never run unless you explicitly
run them (e.g. with `bin/llvm-lit
../llvm-rw/tools/clang/test/CodeGenCXX/*.test`).
CodeGenCXX/debug-info-class-limited.test fails when I run it lik
mprobst created this revision.
mprobst added a reviewer: djasper.
mprobst added a subscriber: cfe-commits.
Herald added a subscriber: klimek.
Shebang lines (`#!/bin/blah`) can be used in JavaScript scripts to indicate
they should be run using e.g. node. This change treats # lines on the first line
Author: davidxl
Date: Wed May 25 12:25:57 2016
New Revision: 270728
URL: http://llvm.org/viewvc/llvm-project?rev=270728&view=rev
Log:
Use new triple API to check comdat /NFC
Modified:
cfe/trunk/lib/CodeGen/TargetInfo.cpp
Modified: cfe/trunk/lib/CodeGen/TargetInfo.cpp
URL:
http://llvm.org/vi
sfantao updated this revision to Diff 58453.
sfantao marked an inline comment as done.
sfantao added a comment.
- Create function for the generation of the default map information.
http://reviews.llvm.org/D20112
Files:
lib/CodeGen/CGOpenMPRuntime.cpp
test/OpenMP/target_firstprivate_codegen.
sfantao added a comment.
Hi Alexey,
Thanks for the review!
Comment at: lib/CodeGen/CGOpenMPRuntime.cpp:5630-5639
@@ -5599,6 +5629,12 @@
// type, the default is 'tofrom'.
CurMapTypes.push_back(ElementType->isAggregateType()
Author: bcraig
Date: Wed May 25 12:37:38 2016
New Revision: 270732
URL: http://llvm.org/viewvc/llvm-project?rev=270732&view=rev
Log:
Allow explicit pthread opt-in
When building libcxxabi in tree (i.e. in llvm/projects/libcxxabi,
along with llvm/projects/libcxx), libcxx's config_site.in doesn't
ge
arsenm added a comment.
Also some tests for non-kernel functions. We might want to keep this as byval
for calling those
http://reviews.llvm.org/D20168
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/lis
Author: bcraig
Date: Wed May 25 12:40:09 2016
New Revision: 270735
URL: http://llvm.org/viewvc/llvm-project?rev=270735&view=rev
Log:
[libcxx] Allow explicit pthread opt-in
The existing pthread detection code in __config is pretty good for
common operating systems. It doesn't allow cmake-time choi
djasper added a comment.
Thinking some more, I think this is actually very close to what we do for
#include(-like) statements. That is done in TokenAnnotator::parseLine() and
TokenAnnotator::parseIncludeDirective(). Could you move the logic there?
http://reviews.llvm.org/D20632
Hello everyone,
LLVM buildmaster will be updated and restarted after 6 PM Pacific time
today.
Thanks
Galina
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
pirama added a comment.
To summarize, there are two scenarios where a warning is warranted when the
source language is OpenCL:
> > I'm not suggesting it be treated as invalid. This extension is part of at
> > least OpenCL 2.1, but it's not part of OpenCL 1.0. `ext_vector_type` is
> > Clang's i
bcraig closed this revision.
bcraig added a comment.
r270732
http://reviews.llvm.org/D20574
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
bcraig added a comment.
r270735
http://reviews.llvm.org/D20573
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
bruno added a comment.
Hi,
Comment at: lib/Driver/Tools.cpp:3657
@@ +3656,3 @@
+ if (IsIAMCU && types::isCXX(Input.getType()))
+D.Diag(diag::err_drv_cxx_not_supported) <<
getToolChain().getTriple().str();
+
Taking a look at this again I don't think there's
bruno added a comment.
You can probably find a way to test this by taking a look at
unittests/Basic/VirtualFileSystemTest.cpp
Repository:
rL LLVM
http://reviews.llvm.org/D20338
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists
hans added a comment.
Thanks for the review!
In http://reviews.llvm.org/D20608#439480, @thakis wrote:
> Do we have test coverage for `template class __declspec(dllexport)
> codecvt;` somewhere already?
Yes, that's covered by tests in CodeGenCXX/dllexport.cpp
Comment at: lib
hans updated this revision to Diff 58461.
hans added a comment.
tweaks
http://reviews.llvm.org/D20608
Files:
lib/Sema/SemaTemplate.cpp
test/CodeGenCXX/dllexport.cpp
test/CodeGenCXX/dllimport.cpp
Index: test/CodeGenCXX/dllimport.cpp
vmiklos created this revision.
vmiklos added reviewers: klimek, cfe-commits.
The check failed, 'Cla *C = new Cla();' was renamed 'D *C = new Cla();'.
http://reviews.llvm.org/D20635
Files:
clang-rename/USRLocFinder.cpp
test/clang-rename/ConstructExpr.cpp
Index: test/clang-rename/ConstructExp
1 - 100 of 184 matches
Mail list logo