berenm updated this revision to Diff 35466.
berenm added a comment.
Fix incorrect line removal in unit test.
http://reviews.llvm.org/D13081
Files:
clang-tidy/readability/IdentifierNamingCheck.cpp
test/clang-tidy/readability-identifier-naming.cpp
Index: test/clang-tidy/readability-identifie
Ping^2...
Il 29/08/2015 10:01, Abramo Bagnara ha scritto:
> Il 28/08/2015 23:27, Richard Smith ha scritto:
>> On Tue, Aug 25, 2015 at 10:27 AM, Abramo Bagnara
>> mailto:abramo.bagn...@bugseng.com>> wrote:
>>
>> Comparing the result of InitListExpr::getSyntacticForm between r224986
>> and r
berenm changed the visibility of this Differential Revision from "berenm (Beren
Minor)" to "Public (No Login Required)".
berenm updated this revision to Diff 35465.
berenm added a comment.
Remove remaining commented code.
http://reviews.llvm.org/D13081
Files:
clang-tidy/readability/Identifie
dirty updated this revision to Diff 35463.
dirty added a comment.
- Update patch with feedback from vsk: better handle errors from
make_absolute().
Updating D12774: createUniqueFile() is documented to create the file in the
temporary directory unless it's supplied an absolute path.
rtrieu added inline comments.
Comment at: lib/Basic/SourceManager.cpp:1008
@@ -1008,1 +1007,3 @@
+bool SourceManager::isMacroArgExpansion(SourceLocation Loc,
+ SourceLocation *NewLoc) const {
if (!Loc.isMacroID()) return false;
vsk added a comment.
Yes, that looks good.
http://reviews.llvm.org/D12774
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
hiraditya updated this revision to Diff 35461.
hiraditya added a comment.
Updated commit message and summary.
http://reviews.llvm.org/D9924
Files:
lib/StaticAnalyzer/Checkers/MallocOverflowSecurityChecker.cpp
test/Analysis/malloc-overflow.c
test/Analysis/malloc-overflow2.c
Index: test/An
compnerd added a comment.
Yeah, I realize that we will need that part of the change as well. However, I
think that this is a sufficiently standalone piece that we can merge this first.
http://reviews.llvm.org/D12996
___
cfe-commits mailing list
cf
thakis added a subscriber: thakis.
thakis added a comment.
mclow should review this, not me.
http://reviews.llvm.org/D13080
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
rengolin added a comment.
In http://reviews.llvm.org/D12903#249406, @thakis wrote:
> Also also, this approach fundamentally doesn't work on Windows.
I don't think it's supposed to, anyway. :)
Repository:
rL LLVM
http://reviews.llvm.org/D12903
On Tue, Sep 22, 2015 at 5:26 PM, Daniel Cheng via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> dcheng added a comment.
>
> In http://reviews.llvm.org/D13080#251324, @dblaikie wrote:
>
> > I'd still be curious to see a stronger justification from the standard
> > about this.
> >
> > I know y
dcheng added a comment.
In http://reviews.llvm.org/D13080#251324, @dblaikie wrote:
> I'd still be curious to see a stronger justification from the standard
> about this.
>
> I know you mentioned/quoted the definition of ~unique_ptr in the standard -
> but I'm not sure that is meant to imply obs
r248355 might help.
On Tue, Sep 22, 2015 at 8:23 PM, Nico Weber wrote:
> It says "error: unable to create target: 'No available targets are
> compatible with this triple, see -version for the available targets.'" I
> guess you disable a bunch of targets on that bot?
>
> On Tue, Sep 22, 2015 at 6
Author: nico
Date: Tue Sep 22 19:24:34 2015
New Revision: 248355
URL: http://llvm.org/viewvc/llvm-project?rev=248355&view=rev
Log:
Make ms-intrin.cpp test require the x86 target.
Modified:
cfe/trunk/test/Headers/ms-intrin.cpp
Modified: cfe/trunk/test/Headers/ms-intrin.cpp
URL:
http://llvm.o
dcoughlin added a comment.
This is causing tests to fail on the bots:
http://lab.llvm.org:8011/builders/clang-x86_64-debian-fast/builds/31373
/home/llvmbb/llvm-build-dir/clang-x86_64-debian-fast/llvm.obj/Release+Asserts/bin/clang
-cc1 -internal-isystem
/home/llvmbb/llvm-build-dir/clang-x86_
It says "error: unable to create target: 'No available targets are
compatible with this triple, see -version for the available targets.'" I
guess you disable a bunch of targets on that bot?
On Tue, Sep 22, 2015 at 6:00 PM, Renato Golin via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> On 21
Author: dcoughlin
Date: Tue Sep 22 19:17:52 2015
New Revision: 248351
URL: http://llvm.org/viewvc/llvm-project?rev=248351&view=rev
Log:
Revert "[analyzer] Improve localizability checks for iOS / OS X."
This reverts commit r248350. The pluralization checks are failing on some bots.
Modified:
echristo accepted this revision.
echristo added a comment.
This revision is now accepted and ready to land.
Seems to be what we were chatting about.
Thanks!
-eric
http://reviews.llvm.org/D13067
___
cfe-commits mailing list
cfe-commits@lists.llvm.o
dblaikie added a subscriber: dblaikie.
dblaikie added a comment.
I'd still be curious to see a stronger justification from the standard
about this.
I know you mentioned/quoted the definition of ~unique_ptr in the standard -
but I'm not sure that is meant to imply observable behavior during
destru
echristo accepted this revision.
echristo added a comment.
This revision is now accepted and ready to land.
LGTM.
Thanks!
-eric
http://reviews.llvm.org/D12989
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/ma
dcheng created this revision.
dcheng added a reviewer: thakis.
dcheng added a subscriber: cfe-commits.
This better matches the behavior of MSVC and libstdc++: neither
standard library sets the stored pointer to null when destroying the
unique_ptr.
http://reviews.llvm.org/D13080
Files:
include/
This revision was automatically updated to reflect the committed changes.
Closed by commit rL248350: [analyzer] Improve localizability checks for iOS /
OS X. (authored by dcoughlin).
Changed prior to commit:
http://reviews.llvm.org/D12417?vs=35404&id=35445#toc
Repository:
rL LLVM
http://rev
Author: dcoughlin
Date: Tue Sep 22 18:58:04 2015
New Revision: 248350
URL: http://llvm.org/viewvc/llvm-project?rev=248350&view=rev
Log:
[analyzer] Improve localizability checks for iOS / OS X.
Various improvements to the localization checker:
* Adjusted copy to be consistent with diagnostic text
samsonov added a subscriber: samsonov.
samsonov accepted this revision.
samsonov added a reviewer: samsonov.
samsonov added a comment.
LGTM
http://reviews.llvm.org/D12840
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/
dcoughlin added a comment.
Aditya, can you update the patch title and summary to a commit message so I can
commit it? Thanks!
http://reviews.llvm.org/D9924
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailma
rengolin added a comment.
In http://reviews.llvm.org/D12633#250612, @labrinea wrote:
> __ARM_FP_FAST is defined to 1 if floating-point optimizations may occur such
> that the computed results are different from those prescribed by the order of
> operations according to the C standard. Examples
Author: adrian
Date: Tue Sep 22 18:26:31 2015
New Revision: 248344
URL: http://llvm.org/viewvc/llvm-project?rev=248344&view=rev
Log:
Serialization: Let ASTWriter return the signature of the written module.
NFC
Modified:
cfe/trunk/include/clang/Serialization/ASTWriter.h
cfe/trunk/lib/Seri
Author: adrian
Date: Tue Sep 22 18:26:43 2015
New Revision: 248345
URL: http://llvm.org/viewvc/llvm-project?rev=248345&view=rev
Log:
Module Debugging: Use the clang module signature as the module's dwo_id
when building a module. Clang already records the module signature when
building a skeleton C
This revision was automatically updated to reflect the committed changes.
Closed by commit rL248336: [analyzer] Make realloc(ptr, 0) handling equivalent
to malloc(0). (authored by dcoughlin).
Changed prior to commit:
http://reviews.llvm.org/D9040?vs=34583&id=35432#toc
Repository:
rL LLVM
ht
Author: dcoughlin
Date: Tue Sep 22 17:47:14 2015
New Revision: 248336
URL: http://llvm.org/viewvc/llvm-project?rev=248336&view=rev
Log:
[analyzer] Make realloc(ptr, 0) handling equivalent to malloc(0).
Currently realloc(ptr, 0) is treated as free() which seems to be not correct. C
standard (N1570
ismailp added a comment.
Ping!
http://reviews.llvm.org/D12251
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
On 21 September 2015 at 17:46, Nico Weber via cfe-commits
wrote:
> Author: nico
> Date: Mon Sep 21 19:46:21 2015
> New Revision: 248234
>
> URL: http://llvm.org/viewvc/llvm-project?rev=248234&view=rev
> Log:
> ms Intrin.h: Fix __movsw's and __stosw's inline asm.
Hi Nico,
This still seems to be b
Author: marshall
Date: Tue Sep 22 16:58:30 2015
New Revision: 248329
URL: http://llvm.org/viewvc/llvm-project?rev=248329&view=rev
Log:
Fix Typo in GCC no RTTI detection. Fixes PR#24901. Thanks to Bernhard
Rosenkraenzer for the report and the patch.
Modified:
libcxx/trunk/include/__config
Mo
hfinkel added a subscriber: hfinkel.
hfinkel accepted this revision.
hfinkel added a reviewer: hfinkel.
hfinkel added a comment.
This revision is now accepted and ready to land.
LGTM, although don't commit until any necessary backend/compiler-rt patches are
in.
http://reviews.llvm.org/D12840
rengolin accepted this revision.
rengolin added a comment.
This revision is now accepted and ready to land.
Apart from the style nitpick, LGTM. Thanks!
Comment at: lib/Driver/Tools.cpp:6139
@@ +6138,3 @@
+ ArchKind = llvm::ARM::parseCPUArch(Triple.getARMCPUForArch(Arch));
+
dim added a comment.
In http://reviews.llvm.org/D13051#250921, @jroelofs wrote:
> In http://reviews.llvm.org/D13051#250910, @EricWF wrote:
>
> > @jroelofs @dim, could we fallback to the __sync_* builtins on arm?
>
The actual implementations of these __sync builtins should still come from
somew
aaron.ballman created this revision.
aaron.ballman added reviewers: klimek, alexfh.
aaron.ballman added a subscriber: cfe-commits.
When defining a free store function, it is almost invariably a bug to fail to
declare the corresponding free store function. For instance, implementing
operator new(
On Tue, Sep 22, 2015 at 11:49 AM, Richard Smith
wrote:
> It seems like the real problem here is that we're giving the template
> instantiation the wrong linkage. It can be used from outside this llvm
> module, so it should be weak_odr instead of linkonce_odr.
>
This indeed works much better. I've
tra created this revision.
tra added reviewers: rsmith, echristo.
tra added a subscriber: cfe-commits.
Adjusted __global__ functions with DiscardableODR linkage to use StrongODR
linkage instead so they are visible externally.
Replaces D11666 / r248293
http://reviews.llvm.org/D13067
Files:
l
This revision was automatically updated to reflect the committed changes.
Closed by commit rL248318: [analyzer] Create one state for a range switch case
instead of multiple. (authored by dcoughlin).
Changed prior to commit:
http://reviews.llvm.org/D5102?vs=32664&id=35411#toc
Repository:
rL L
Author: dcoughlin
Date: Tue Sep 22 15:31:19 2015
New Revision: 248318
URL: http://llvm.org/viewvc/llvm-project?rev=248318&view=rev
Log:
[analyzer] Create one state for a range switch case instead of multiple.
This fixes PR16833, in which the analyzer was using large amounts of memory
for switch s
On Tue, Sep 22, 2015 at 07:26:46PM +, Jonathan Roelofs via cfe-commits
wrote:
> jroelofs added a comment.
>
> In http://reviews.llvm.org/D13051#250910, @EricWF wrote:
>
> > @jroelofs @dim, could we fallback to the __sync_* builtins on arm?
>
>
> @dim would need armv4-flavored implementatio
rjmccall added a comment.
This is outside of my expertise, but I've asked Doug Gregor to take a look.
http://reviews.llvm.org/D10881
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Hello,
> Looks good to me!
>
> Do you have commit access, or would you like for me to commit it for you?
I do not have commit access. It would be great if you can commit for me.
Thanks,
Ettore Speziale
___
cfe-commits mailing list
cfe-commits@lists.ll
kulpreet added a subscriber: cfe-commits.
kulpreet updated this revision to Diff 35404.
kulpreet added a comment.
Shortened description of PluralMisuseChecker in Checkers.td as per Anna's
recommendation.
http://reviews.llvm.org/D12417
Files:
lib/StaticAnalyzer/Checkers/Checkers.td
lib/Stat
This revision was automatically updated to reflect the committed changes.
Closed by commit rL248314: Analyzer: Teach analyzer how to handle TypeTraitExpr
(authored by ismailp).
Changed prior to commit:
http://reviews.llvm.org/D12482?vs=35384&id=35403#toc
Repository:
rL LLVM
http://reviews.l
Author: ismailp
Date: Tue Sep 22 14:33:15 2015
New Revision: 248314
URL: http://llvm.org/viewvc/llvm-project?rev=248314&view=rev
Log:
Analyzer: Teach analyzer how to handle TypeTraitExpr
Summary:
`TypeTraitExpr`s are not supported by the ExprEngine today. Analyzer
creates a sink, and aborts the b
jroelofs added a comment.
In http://reviews.llvm.org/D13051#250910, @EricWF wrote:
> @jroelofs @dim, could we fallback to the __sync_* builtins on arm?
@dim would need armv4-flavored implementations of them in compiler-rt (if
that's what he's using)... the existing ones use instructions that v
On 05 Aug 2015, at 18:57, James Y Knight wrote:
> Author: jyknight
> Date: Wed Aug 5 11:57:36 2015
> New Revision: 244063
>
> URL: http://llvm.org/viewvc/llvm-project?rev=244063&view=rev
> Log:
> Add missing atomic libcall support.
>
> Support for emitting libcalls for __atomic_fetch_nand and
>
berenm added a comment.
Ping?
The unit tests should work fine, now that http://reviews.llvm.org/D12369 has
been merged.
http://reviews.llvm.org/D12362
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/li
EricWF added a comment.
@jroelofs @dim, could we fallback to the __sync_* builtins on arm?
http://reviews.llvm.org/D13051
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: dim
Date: Tue Sep 22 13:55:37 2015
New Revision: 248313
URL: http://llvm.org/viewvc/llvm-project?rev=248313&view=rev
Log:
Add placeholder __libcpp_relaxed_store() for when atomic builtins are not
available.
Summary:
In rL241532, atomic_support.h was added, which provides handling of
atom
On Sep 11, 2015 4:23 AM, "Evgeny Astigeevich via cfe-commits" <
cfe-commits@lists.llvm.org> wrote:
>
> eastig added a comment.
>
> In http://reviews.llvm.org/D12689#243592, @rsmith wrote:
>
> > Can we instead fix this in Clang by ensuring that libc++ is put at the
right position in the static link
rjmccall added inline comments.
Comment at: docs/LanguageExtensions.rst:1720
@@ -1712,1 +1719,3 @@
+being stored there, and the function returns 1. The behavior of these builtins
+is well-defined for all argument values.
DavidEGrayson wrote:
> rjmccall wrote:
>
It seems like the real problem here is that we're giving the template
instantiation the wrong linkage. It can be used from outside this llvm
module, so it should be weak_odr instead of linkonce_odr.
On Sep 22, 2015 10:24 AM, "Artem Belevich via cfe-commits" <
cfe-commits@lists.llvm.org> wrote:
> A
EricWF added a comment.
This probably isn't quite right. I need to think about it for a minute.
http://reviews.llvm.org/D13062
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
EricWF added a comment.
Sure sorry for the delay.
http://reviews.llvm.org/D12247
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
EricWF closed this revision.
EricWF added a comment.
Committed as r248309.
http://reviews.llvm.org/D12247
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: ericwf
Date: Tue Sep 22 13:37:03 2015
New Revision: 248309
URL: http://llvm.org/viewvc/llvm-project?rev=248309&view=rev
Log:
Remove possible trailing padding from aligned_storage. Patch from Yiran Wang
Modified:
libcxx/trunk/include/type_traits
Modified: libcxx/trunk/include/type_tra
EricWF accepted this revision.
EricWF added a comment.
This revision is now accepted and ready to land.
Ah sorry I hadn't had coffee yet. Sorry for the breakage. I'll make sure this
make sure this patch gets backported appropriately.
LGTM thanks for the fix.
http://reviews.llvm.org/D13051
_
EricWF created this revision.
EricWF added a reviewer: mclow.lists.
EricWF added a subscriber: cfe-commits.
This patch fixes PR24779 (https://llvm.org/bugs/show_bug.cgi?id=24779)
http://reviews.llvm.org/D13062
Files:
include/tuple
test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_UType
dim added a comment.
In http://reviews.llvm.org/D13051#250836, @EricWF wrote:
> Does anything actually need this? This interface was never really meant to be
> complete, just want was needed.
I need it at least for FreeBSD/arm, since it defaults to armv4, and it does not
yet have a full set o
On Tue, Sep 22, 2015 at 05:44:59PM +, Eric Fiselier via cfe-commits wrote:
> EricWF added a comment.
>
> Does anything actually need this? This interface was never really meant to be
> complete, just want was needed.
>
> > It's a shame that libc++ decided to reinvent the wheel here and not u
Author: marshall
Date: Tue Sep 22 13:09:13 2015
New Revision: 248307
URL: http://llvm.org/viewvc/llvm-project?rev=248307&view=rev
Log:
The test I cnecked in to check the fix for PR#24890 failed (as expected) w/o
the fix, but for the wrong reason. Now it fails for the right reason.
Modified:
dcoughlin added a comment.
I will commit. Thanks!
http://reviews.llvm.org/D5102
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Looks good to me!
Do you have commit access, or would you like for me to commit it for you?
George
On Tue, Sep 22, 2015 at 7:45 AM, Ettore Speziale
wrote:
> Hello,
>
> > It looks like the attached patch is the same as the original one?
>
> I’ve attache the wrong patch. Here is the right one:
>
klimek accepted this revision.
klimek added a comment.
This revision is now accepted and ready to land.
Ok, I think this is now understandable enough for me to go in.
http://reviews.llvm.org/D11240
___
cfe-commits mailing list
cfe-commits@lists.llvm
ygribov added a subscriber: ygribov.
ygribov added a comment.
Folks, could someone commit this for us?
http://reviews.llvm.org/D5102
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
djasper updated this revision to Diff 35395.
djasper added a comment.
Added comments and did some renaming.
http://reviews.llvm.org/D11240
Files:
include/clang/Format/Format.h
include/clang/Tooling/Core/Replacement.h
lib/Format/Format.cpp
lib/Format/FormatToken.cpp
lib/Tooling/Core/Re
Author: marshall
Date: Tue Sep 22 12:57:41 2015
New Revision: 248305
URL: http://llvm.org/viewvc/llvm-project?rev=248305&view=rev
Log:
Check in the test for PR#24890 that I forgot in previous commit
Modified:
libcxx/trunk/test/std/utilities/utility/pairs/pairs.pair/swap.pass.cpp
Modified: li
jroelofs added a comment.
In http://reviews.llvm.org/D13051#250836, @EricWF wrote:
> Does armv4 need lib calls for atomic operations on "unsigned long"?
IIRC, yes.
http://reviews.llvm.org/D13051
___
cfe-commits mailing list
cfe-commits@lists.llvm
Author: marshall
Date: Tue Sep 22 12:50:11 2015
New Revision: 248304
URL: http://llvm.org/viewvc/llvm-project?rev=248304&view=rev
Log:
Change pair::swap(pair&) to call ADL swap instead of iter_swap; this fixes an
obscure bug having to do with overloaded operator&. Fixes PR#24890
Modified:
li
EricWF added a comment.
Does anything actually need this? This interface was never really meant to be
complete, just want was needed.
> It's a shame that libc++ decided to reinvent the wheel here and not use the
> C11 atomics support
GCC doesn't provide "_Atomic" and `` isn't always fully ava
This revision was automatically updated to reflect the committed changes.
tra marked an inline comment as done.
Closed by commit rL248299: [CUDA] Allow parsing of host and device code
simultaneously. (authored by tra).
Changed prior to commit:
http://reviews.llvm.org/D12917?vs=35031&id=35389#to
This revision was automatically updated to reflect the committed changes.
Closed by commit rL248298: Augmented CudaHostAction to carry device-side
triple. (authored by tra).
Changed prior to commit:
http://reviews.llvm.org/D12893?vs=34857&id=35388#toc
Repository:
rL LLVM
http://reviews.llvm
This revision was automatically updated to reflect the committed changes.
Closed by commit rL248297: [CUDA] Fixes minor cuda-related issues in the driver
(authored by tra).
Changed prior to commit:
http://reviews.llvm.org/D12892?vs=34855&id=35386#toc
Repository:
rL LLVM
http://reviews.llvm.
This revision was automatically updated to reflect the committed changes.
Closed by commit rL248295: [CUDA] Allow function overloads in CUDA based on
host/device attributes. (authored by tra).
Changed prior to commit:
http://reviews.llvm.org/D12453?vs=34368&id=35387#toc
Repository:
rL LLVM
Author: tra
Date: Tue Sep 22 12:23:22 2015
New Revision: 248299
URL: http://llvm.org/viewvc/llvm-project?rev=248299&view=rev
Log:
[CUDA] Allow parsing of host and device code simultaneously.
* adds -aux-triple option to specify target triple
* propagates aux target info to AST context and Prepr
In r248292, the added unit test fails without the changes.
> On Sep 18, 2015, at 5:49 PM, Manuel Klimek via cfe-commits
> wrote:
>
> LG in general; I think if we like the order to be deterministic we should try
> to come up with a unit test so nobody regresses this in the future.
>
> On Fri,
Author: tra
Date: Tue Sep 22 12:23:13 2015
New Revision: 248298
URL: http://llvm.org/viewvc/llvm-project?rev=248298&view=rev
Log:
Augmented CudaHostAction to carry device-side triple.
Differential Revision: http://reviews.llvm.org/D12893
Modified:
cfe/trunk/include/clang/Driver/Action.h
Author: tra
Date: Tue Sep 22 12:23:09 2015
New Revision: 248297
URL: http://llvm.org/viewvc/llvm-project?rev=248297&view=rev
Log:
[CUDA] Fixes minor cuda-related issues in the driver
* Only the last of the --cuda-host-only/--cuda-device-only options has effect.
* CudaHostAction always wraps host-
Author: tra
Date: Tue Sep 22 12:22:59 2015
New Revision: 248295
URL: http://llvm.org/viewvc/llvm-project?rev=248295&view=rev
Log:
[CUDA] Allow function overloads in CUDA based on host/device attributes.
The patch makes it possible to parse CUDA files that contain host/device
functions with identi
Author: tra
Date: Tue Sep 22 12:23:05 2015
New Revision: 248296
URL: http://llvm.org/viewvc/llvm-project?rev=248296&view=rev
Log:
[CUDA] Add appropriate host/device attribute to builtins.
The changes are part of attribute-based CUDA function overloading (D12453)
and as such are only enabled when
Author: tra
Date: Tue Sep 22 12:22:51 2015
New Revision: 248293
URL: http://llvm.org/viewvc/llvm-project?rev=248293&view=rev
Log:
[CUDA] Add implicit __attribute__((used)) to all __global__ functions.
This makes sure that we emit kernels that were instantiated from the
host code and which would n
Author: akirtzidis
Date: Tue Sep 22 12:22:33 2015
New Revision: 248292
URL: http://llvm.org/viewvc/llvm-project?rev=248292&view=rev
Log:
[tooling] Provide the compile commands of the JSON database in the order that
they were provided in the JSON file.
This is useful for debugging of issues and r
ismailp marked an inline comment as done.
ismailp added a comment.
Thanks for reviewing.
http://reviews.llvm.org/D12482
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
ismailp updated this revision to Diff 35384.
ismailp added a comment.
Addressed comments.
http://reviews.llvm.org/D12482
Files:
lib/StaticAnalyzer/Core/Environment.cpp
lib/StaticAnalyzer/Core/ExprEngine.cpp
lib/StaticAnalyzer/Core/SValBuilder.cpp
test/Analysis/dtor.cpp
Index: test/Anal
angelgarcia updated this revision to Diff 35380.
angelgarcia marked 10 inline comments as done.
angelgarcia added a comment.
Use CamelCase on the existing tests and add a test for every other naming
convention.
http://reviews.llvm.org/D13052
Files:
clang-tidy/modernize/LoopConvertCheck.cpp
DavidEGrayson added a comment.
Thanks for looking at this patch, John! I disagreed with your comment about
calculating the encompassing type, but I will incorporate everything else and
make a new patch tonight or within a few days.
Comment at: docs/LanguageExtensions.rst:1720
klimek added a comment.
Sending another batch of comments.
Comment at: lib/Tooling/Core/Replacement.cpp:305-307
@@ +304,5 @@
+ Replacements Result;
+ // Iterate over both sets and always add the next element (smallest total
+ // Offset) from either 'First' or 'Second'. Merge
aaron.ballman added a comment.
Generally LGTM, but I would wait for Richard to review in this case.
~Aaron
Comment at: lib/Sema/SemaDeclAttr.cpp:5201
@@ -5200,5 +5200,3 @@
if (FunctionDecl *FD = dyn_cast(ND)) {
-FunctionDecl *NewFD;
-// FIXME: Missing call to CheckFu
On Tue, Sep 22, 2015 at 01:52:33PM -, Daniel Sanders via cfe-commits wrote:
> Author: dsanders
> Date: Tue Sep 22 08:52:32 2015
> New Revision: 248276
>
> URL: http://llvm.org/viewvc/llvm-project?rev=248276&view=rev
> Log:
> [mips] Added support for using the command line options -Wa,-msoft-fl
amusman added inline comments.
Comment at: lib/Sema/SemaDeclAttr.cpp:5201
@@ -5200,5 +5200,3 @@
if (FunctionDecl *FD = dyn_cast(ND)) {
-FunctionDecl *NewFD;
-// FIXME: Missing call to CheckFunctionDeclaration().
// FIXME: Mangling?
// FIXME: Is the qualifier i
t.p.northover added a comment.
I can't explain the Opts.C99 (fesetround is provided by conforming C++11
implementations too), but I think I was just trying to capture the fact that
decent hosted platforms support fesetround but freestanding ones don't (not
having any library).
Supporting "C89
djasper updated this revision to Diff 35375.
djasper added a comment.
Restructured a bit. Not as many comments just yet. Do you think this is an
improvement?
http://reviews.llvm.org/D11240
Files:
include/clang/Format/Format.h
include/clang/Tooling/Core/Replacement.h
lib/Format/Format.cpp
ksuther added a comment.
I don't, this and http://reviews.llvm.org/D12489 are my first patch submissions.
http://reviews.llvm.org/D12489
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commi
ksuther added a comment.
I do not.
http://reviews.llvm.org/D12501
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Hello,
> It looks like the attached patch is the same as the original one?
I’ve attache the wrong patch. Here is the right one:
enable-if.diff
Description: Binary data
Thanks,
Ettore Speziale___
cfe-commits mailing list
cfe-commits@lists.llvm.org
ht
atanasyan accepted this revision.
atanasyan added a comment.
This revision is now accepted and ready to land.
LGTM
http://reviews.llvm.org/D13057
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/
dsanders created this revision.
dsanders added a reviewer: atanasyan.
dsanders added a subscriber: cfe-commits.
Strictly speaking, the MIPS*R2 ISA's should not permit -mnan=2008 since this
feature was added in MIPS*R3. However, other toolchains permit this and we
should do the same.
http://review
1 - 100 of 126 matches
Mail list logo