Author: dblaikie
Date: Fri Oct 18 16:58:34 2019
New Revision: 375304
URL: http://llvm.org/viewvc/llvm-project?rev=375304=rev
Log:
DebugInfo: Render the canonical name of a class template specialization, even
when nested in another class template specialization
Differential Revision:
(mostly joking) any interest in seeing what it'd take to make Clang/LLVM
-Wmissing-prototype clean? (which would also catch the same sort of issues,
I think?)
On Tue, Oct 1, 2019 at 4:10 PM John McCall via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> Author: rjmccall
> Date: Tue Oct 1
Yeah, something about linkage - but that's not the part that's as likely to
be a problem as the other part: the other test for C++ language was what
causes LLVM to compute the fully qualified name of an entity in the
accelerator table ("foo::bar" instead of just "bar" (eg: the bug was things
like
Out of curiosity, should/would this've shown up for you Apple folks too?
(as a failure in the apple/lldb accelerator tables - because the names
would be similarly incorrect) had it just not got to the necessary testing
yet?
On Wed, Oct 2, 2019 at 8:29 AM Adrian Prantl wrote:
>
>
> On Oct 1,
This broke gnu_pubnames and other forms of DWARF index of C++ code - fixed
in r373420 (feel free to post-comimt review, etc, of course)
On Mon, Sep 23, 2019 at 5:36 PM Adrian Prantl via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> Author: adrian
> Date: Mon Sep 23 17:38:49 2019
> New
Any resolution/discussion on this crash?
On Thu, Sep 5, 2019 at 12:49 PM Erik Pilkington via cfe-commits
wrote:
>
> Hi Alexandre,
>
> Looks like this commit is causing crashes on darwin, can you take a look
> please? Here is a failing bot:
>
On Thu, Sep 5, 2019 at 9:57 AM Duncan P. N. Exon Smith
wrote:
>
>
> On Sep 4, 2019, at 17:39, David Blaikie wrote:
>
>
>
> On Mon, Aug 26, 2019 at 11:28 AM Duncan P. N. Exon Smith via cfe-commits <
> cfe-commits@lists.llvm.org> wrote:
>
>> Author: dexonsmith
>> Date: Mon Aug 26 11:29:51 2019
>>
On Mon, Aug 26, 2019 at 11:28 AM Duncan P. N. Exon Smith via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> Author: dexonsmith
> Date: Mon Aug 26 11:29:51 2019
> New Revision: 369943
>
> URL: http://llvm.org/viewvc/llvm-project?rev=369943=rev
> Log:
> FileManager: Use llvm::Expected in new
This seems a bit narrow - could it be generalized to all cases of '\0' as a
null pointer?
On Mon, Aug 5, 2019 at 3:14 PM George Burgess IV via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> Author: gbiv
> Date: Mon Aug 5 15:15:40 2019
> New Revision: 367940
>
> URL:
Author: dblaikie
Date: Mon Jul 8 16:24:41 2019
New Revision: 365406
URL: http://llvm.org/viewvc/llvm-project?rev=365406=rev
Log:
[cxx2a] P0624R2 fix: only lambdas with no lambda-capture are
default-constructible and assignable.
This is a fix for rG864949 which only disabled default
Author: dblaikie
Date: Mon Jun 17 12:40:52 2019
New Revision: 363606
URL: http://llvm.org/viewvc/llvm-project?rev=363606=rev
Log:
PR42205: DebugInfio: Do not attempt to emit debug info metadata for static
member variable template partial specializations
Would cause a crash in an attempt to
n take
> up space.
> (I'm not really objecting, it's just hard to intuit a big size benefit.)
> --paulr
>
> > -Original Message-
> > From: cfe-commits [mailto:cfe-commits-boun...@lists.llvm.org] On Behalf
> Of
> > David Blaikie via cfe-commits
> > Se
Author: dblaikie
Date: Fri Jun 7 17:01:21 2019
New Revision: 362856
URL: http://llvm.org/viewvc/llvm-project?rev=362856=rev
Log:
DebugInfo: Add support for 'nodebug' attribute on typedefs and alias templates
Seems like a logical extension to me - and of interest because it might
help reduce the
If this is the only use of 'S', might be better/good to roll the expression
into the assertion?
On Wed, May 29, 2019 at 11:33 AM Haojian Wu via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> Author: hokein
> Date: Wed May 29 11:36:54 2019
> New Revision: 362005
>
> URL:
Author: dblaikie
Date: Wed May 22 14:58:17 2019
New Revision: 361439
URL: http://llvm.org/viewvc/llvm-project?rev=361439=rev
Log:
Fix r361428 for Windows buildbots/mangling
Modified:
cfe/trunk/test/Modules/enum-codegen.cpp
Modified: cfe/trunk/test/Modules/enum-codegen.cpp
URL:
Please have a look?
> . . .
> Failing Tests (1):
> Clang :: Modules/enum-codegen.cpp
>
> The builder was already red and did not send any notifications.
>
> Thanks
>
> Galina
>
> On Wed, May 22, 2019 at 1:33 PM David Blaikie via cfe-commits <
> cfe-commits@lists.llvm.or
Author: dblaikie
Date: Wed May 22 13:36:06 2019
New Revision: 361428
URL: http://llvm.org/viewvc/llvm-project?rev=361428=rev
Log:
Modules: Code generation of enum constants for merged enum definitions
Found in a bootstrap of LLVM with implicit modules, resulting in a
deadlock of some Orc unit
On Tue, May 7, 2019 at 7:40 PM Richard Trieu wrote:
>
>
> From: David Blaikie
> Date: Mon, May 6, 2019 at 4:39 PM
> To: Richard Trieu
> Cc: cfe-commits
>
>> On Mon, May 6, 2019 at 4:24 PM Richard Trieu wrote:
>> >
>> > There was no cycle for this crash.
>>
>> Oh, yeah, didn't mean to imply
Fair enough - since they're already there I don't feel super serious
about converging on one (though I probably wouldn't've been in favor
of adding a second spelling at the point it was proposed).
On Tue, May 14, 2019 at 8:03 AM wrote:
>
> There's no practical difference. I view it as a matter
Author: dblaikie
Date: Tue May 7 14:38:51 2019
New Revision: 360195
URL: http://llvm.org/viewvc/llvm-project?rev=360195=rev
Log:
-frewrite-imports: Add support for wildcard rules in umbrella modules with
This trips over a few other limitations, but in the interests of incremental
development
On Mon, May 6, 2019 at 4:24 PM Richard Trieu wrote:
>
> There was no cycle for this crash.
Oh, yeah, didn't mean to imply there were - but that a system designed
to prevent cycles might also be used/help prevent redundant work like
this.
> What happened is that an exponential runtime is reduced
Does the ODR hashing have some sort of cycle breaking infrastructure -
so that if the same type is seen more than once (eg: classes have
members that have pointers back to the outer class type, etc) they
don't cause indefinite cycles? Should that infrastructure have caught
these cases & avoided
Author: dblaikie
Date: Fri May 3 11:11:31 2019
New Revision: 359913
URL: http://llvm.org/viewvc/llvm-project?rev=359913=rev
Log:
Remove else-after-return
Modified:
cfe/trunk/lib/AST/ExprConstant.cpp
Modified: cfe/trunk/lib/AST/ExprConstant.cpp
URL:
Author: dblaikie
Date: Thu May 2 17:44:50 2019
New Revision: 359854
URL: http://llvm.org/viewvc/llvm-project?rev=359854=rev
Log:
SemaOverload: Complete candidates before emitting the error, to ensure
diagnostics emitted (or suppressed) during completion don't interfere with the
overload notes
Author: dblaikie
Date: Thu May 2 09:30:49 2019
New Revision: 359800
URL: http://llvm.org/viewvc/llvm-project?rev=359800=rev
Log:
Do not warn on switches over enums that do not use [[maybe_unused]] enumerators
PR36231, [dcl.attr.unused]p3
Reviewers: aaron.ballman
Differential Revision:
Author: dblaikie
Date: Thu Apr 25 13:05:47 2019
New Revision: 359235
URL: http://llvm.org/viewvc/llvm-project?rev=359235=rev
Log:
Skip type units/type uniquing when we know we're only emitting the type once
(vtable-based emission when triggered by a strong vtable, with
-fno-standalone-debug)
Author: dblaikie
Date: Thu Apr 25 11:11:48 2019
New Revision: 359217
URL: http://llvm.org/viewvc/llvm-project?rev=359217=rev
Log:
DebugInfo: Fix bitrotted test case
This test was updated with some CHECK suffix variants, but dropped
checking for the unsuffixed 'CHECK'
Modified:
Author: dblaikie
Date: Fri Apr 19 16:04:05 2019
New Revision: 358796
URL: http://llvm.org/viewvc/llvm-project?rev=358796=rev
Log:
Modules: Adopt template parameters for variable templates to set their decl
context correctly
Exposed by a related bug about visibility of default arguments of
Author: dblaikie
Date: Fri Apr 19 16:02:30 2019
New Revision: 358795
URL: http://llvm.org/viewvc/llvm-project?rev=358795=rev
Log:
Modules: Search for a visible definition of the decl context when computing
visibility of a default template parameter
The code is/was already correct for the case
Author: dblaikie
Date: Mon Apr 15 17:16:29 2019
New Revision: 358464
URL: http://llvm.org/viewvc/llvm-project?rev=358464=rev
Log:
DebugInfo: Default to standalone debug when tuning for LLDB
LLDB can't currently handle Clang's default (limit/no-standalone) DWARF,
so platforms that default to LLDB
Hi Aaron,
I don't see any mention of this in D44406 - so it might have been good to
have a separate review for this (or included this in the review of D44406,
which I think is possible with the monorepo).
Specifically - this change is missing test coverage (there should be a
clang test that goes
Might be handy to summarize the changes from the previous reverted version
of this patch (& mention the original commit revision and revert revision)
- in the commit message is ideal, but in a reply to the commit after the
fact will do in a pinch
On Fri, Jan 11, 2019 at 4:06 AM Erik Pilkington
While I realize it's in the coding standard - is there any particular other
motivation for this? (Given you've been doing layering cleanup - I'm
wondering fi this is an interesting workaround for some layering problems,
for instance?)
On Sat, Dec 29, 2018 at 1:05 PM Richard Trieu via cfe-commits
Author: dblaikie
Date: Wed Dec 19 11:33:35 2018
New Revision: 349669
URL: http://llvm.org/viewvc/llvm-project?rev=349669=rev
Log:
PR40096: Forwards-compatible with C++20 rule regarding aggregates not having
user-declared ctors
Looks like these were in place to make these types move-only. That's
(tiny factoid: turns out gold's 64 bit gdb-index support is also broken in
a different, more subtle way... - so best folks don't use this flag except
with lld, it seems, if you're using gdb-index)
On Tue, Nov 13, 2018 at 12:10 PM David Blaikie via cfe-commits <
cfe-commits@lists.llvm.org>
Hey Richard,
Thanks for cleaning up some of the layering here!
I /think/ I vaguely recall having a conversation with Richard Smith about a
different direction to fix the layering of the diagnostics system - but it
was/is more involved. Ah, here, apparently I sent out a WIP patch & must've
got
Would it be worth considering whether -fdebug-compilation-dir and
-fdebug-prefix-map could be unified, perhaps by having a placeholder that
could be used in -fdebug-prefix-map for the current directory?
I guess they're low-maintenance enough that it's probably not, but figured
I'd ask.
On Thu,
Ah, thanks for the explanation! No worries about pre-commit review or
anything - this is what post-commit review is :) Only note for the future
is that it might be worth mentioning in the body of the commit message
(title/first line was fine) so it's clear why this "extra" work is being
done.
Why the change from using setter functions to direct assignment?
On Mon, Dec 3, 2018 at 5:06 AM Bruno Ricci via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> Author: brunoricci
> Date: Mon Dec 3 05:04:10 2018
> New Revision: 348131
>
> URL:
Also, including the SVN revision (llvm's util/git-svn/git-svnrevert script
can help with this) is helpful for other folks following along who may not
be using git.
On Mon, Nov 26, 2018 at 12:19 PM Aaron Ballman via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> On Mon, Nov 26, 2018 at 3:13
Just copying some of the information given through Phab (
https://reviews.llvm.org/rL347035 ) - this patch was reverted in r347676.
Would be great to get that fixed/recommitted!
On Fri, Nov 16, 2018 at 12:01 AM George Rimar via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> Author: grimar
>
Author: dblaikie
Date: Sat Nov 17 10:04:13 2018
New Revision: 347141
URL: http://llvm.org/viewvc/llvm-project?rev=347141=rev
Log:
Sink BuryPointer from Clang into LLVM for reuse there
Modified:
cfe/trunk/include/clang/Frontend/CompilerInstance.h
cfe/trunk/include/clang/Frontend/Utils.h
Author: dblaikie
Date: Wed Nov 14 19:04:23 2018
New Revision: 346929
URL: http://llvm.org/viewvc/llvm-project?rev=346929=rev
Log:
NFC cleanup: Prefer make_unique over reset(new T())
Modified:
cfe/trunk/lib/Parse/ParsePragma.cpp
Modified: cfe/trunk/lib/Parse/ParsePragma.cpp
URL:
Author: dblaikie
Date: Wed Nov 14 19:04:18 2018
New Revision: 346926
URL: http://llvm.org/viewvc/llvm-project?rev=346926=rev
Log:
Stmt bits: Make ExprBits relative to StmtBits
Seems like it makes it a bit easier to read/validate/update in the
future.
Modified:
Author: dblaikie
Date: Wed Nov 14 19:04:19 2018
New Revision: 346927
URL: http://llvm.org/viewvc/llvm-project?rev=346927=rev
Log:
Rewrite-imports on crash: Simplify handling
-frewrite-imports already implies -frewrite-includes (it piggy-backs
on/extends the implementation) so there's no need to
Author: dblaikie
Date: Wed Nov 14 19:04:21 2018
New Revision: 346928
URL: http://llvm.org/viewvc/llvm-project?rev=346928=rev
Log:
Fix combining pragma __debug dump & parser_crash with -E
Previously these would be transformed into annotation tokens and the
preprocessor would then assume they were
Author: dblaikie
Date: Tue Nov 13 12:08:13 2018
New Revision: 346789
URL: http://llvm.org/viewvc/llvm-project?rev=346789=rev
Log:
DebugInfo: Add a driver flag for DWARF debug_ranges base address specifier use.
Summary:
This saves a lot of relocations in optimized object files (at the cost
of
Thanks!
On Mon, Nov 12, 2018 at 2:14 PM Aaron Ballman
wrote:
> On Mon, Nov 12, 2018 at 1:30 PM David Blaikie wrote:
> >
> > The previous code didn't have a conditional for Iter != End - was that a
> bug? Should there be a test case for that bug?
> >
> > If that's not an actual change in
The previous code didn't have a conditional for Iter != End - was that a
bug? Should there be a test case for that bug?
If that's not an actual change in behavior, could it be an assert instead
of a condition?
On Tue, Nov 6, 2018 at 1:14 PM Aaron Ballman via cfe-commits <
Author: dblaikie
Date: Thu Nov 8 12:47:30 2018
New Revision: 346439
URL: http://llvm.org/viewvc/llvm-project?rev=346439=rev
Log:
[Frontend/Modules] Show diagnostics on prebuilt module configuration mismatch
too
The current version only emits the below error for a module (attempted to be
Shuai - have you had a chance to look at this?
On Mon, Oct 22, 2018 at 4:43 PM Richard Smith wrote:
> On Mon, 22 Oct 2018 at 14:57, David Blaikie via cfe-commits <
> cfe-commits@lists.llvm.org> wrote:
>
>> Richard - any further thoughts here (re: layering/dependencies
If ThinLTO doesn't pass the machine verifier - should it maybe be turned
off at the thinlto level in general, rather than for this specific test?
On Tue, Oct 30, 2018 at 5:20 AM Francis Visoiu Mistrih via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> Author: thegameg
> Date: Tue Oct 30
Could you link to/quote the warnings - might be helpful to understanding
what's being addressed here
On Tue, Oct 30, 2018 at 10:00 PM Bill Wendling via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> Author: void
> Date: Tue Oct 30 21:58:34 2018
> New Revision: 345695
>
> URL:
Fair enough - pity we couldn't readily have a single implementation or at
least semantics for modular debug info between implicit and explicit modes
(I mean, my fault in part for building a separate/new system when I did
modular codegen anyway) but hopefully we'll move to explicit modules across
On Mon, Oct 29, 2018 at 11:46 AM Keane, Erich wrote:
>
>
>
>
> *From:* David Blaikie [mailto:dblai...@gmail.com]
> *Sent:* Monday, October 29, 2018 11:41 AM
> *To:* Keane, Erich
> *Cc:* Eric Christopher ; cfe-commits@lists.llvm.org
>
>
> *Subject:* Re: r344957 - Give Multiversion-inline
On Mon, Oct 29, 2018 at 11:30 AM Keane, Erich wrote:
> GCC actually doesn’t support function multiversioning in C mode, so this
> fix is part of our extension to support C with multiversioning.
>
Ah, what's the motivation for that?
> I perhaps wonder if this is part of the reason GCC only
Is this a workaround for now with the intent to fix this to allow such
implicit specializations to have their debug info modularized? I believe
this does work correctly in modular debug info with expliict modules, would
probably be sort of nice to have these things be consistent/similar?
On Tue,
Does this match GCC's approach here?
(I ask this sort of as throwaway/conversation starter - because the
linkage/behavior around multiversion functions and their inlining is full
of sharp corners/risks of code moving out of the areas appropriately
restricted based on the cpu features)
On Mon,
re in lib/StaticAnalyzer. There shouldn't
>> be any problem with clang-tidy using it from there, since it already
>> depends on the static analyzer.
>>
> I'm happy to do the move.
> Could you (or someone) help point out where exactly I should move it to
> though
On Fri, Oct 19, 2018 at 3:56 PM Adrian Prantl via Phabricator via
llvm-commits wrote:
> aprantl added a comment.
>
> I have a vague recollection that this column info hack was added to
> disambiguate two types defined on the same line (which is something that
> happened more often than one would
I can't really reproduce this - when I try to build clang/llvm with
LLVM_ENABLE_MODULES in CMake I'm still seeing an error I reported March on
a cfe-dev thread - something to do with unique_ptr instantiations for
MappedBlockStream in the PDB parsing code.
So, I'm wondering what error you hit,
Excellent, excellent - thanks!
On Mon, Oct 1, 2018 at 10:22 AM Richard Smith wrote:
> On Mon, 1 Oct 2018, 09:55 David Blaikie via cfe-commits, <
> cfe-commits@lists.llvm.org> wrote:
>
>> Awesome - should/does this mean stateless lambdas can be used in
>> uninitializ
Awesome - should/does this mean stateless lambdas can be used in
uninitialized contexts?
std::set
s;
Would be kind of neat/handy (so you didn't have to pass in the comparator
on construction, etc)
On Thu, Sep 27, 2018 at 3:48 PM Richard Smith via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
When reverting patches it's helpful to include some context (links to
buildbots, plus inline/textual descriptions of errors, etc) for why the
change is being made - so people looking to explain the failure they're
seeing can see if this change is intended to address it, or if someone's
going back
On Thu, Sep 27, 2018 at 7:51 AM Eric Liu via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> Author: ioeric
> Date: Thu Sep 27 07:50:24 2018
> New Revision: 343224
>
> URL: http://llvm.org/viewvc/llvm-project?rev=343224=rev
> Log:
> [Tooling] Get rid of uses of llvm::Twine::str which is slow.
+Shuai Wang
On Tue, Sep 25, 2018 at 2:14 PM David Blaikie wrote:
> Hey Eric - thanks for the fix - but could you explain the issue here in a
> bit more detail, as I'm a bit confused (& really interested in
> understanding any layering problems in LLVM - and fixing them/making sure
> they're
Hey Eric - thanks for the fix - but could you explain the issue here in a
bit more detail, as I'm a bit confused (& really interested in
understanding any layering problems in LLVM - and fixing them/making sure
they're fixed/holding the line/etc)
What do you mean by "pull all of the AST matchers
Fixed in r342510 with the solution I mentioned up-thread.
On Tue, Sep 18, 2018 at 1:10 PM Volodymyr Sapsai via Phabricator <
revi...@reviews.llvm.org> wrote:
> vsapsai added a comment.
>
> Confirm that reverting the change locally fixes the tests. If nobody beats
> me to it, I plan to revert the
Author: dblaikie
Date: Tue Sep 18 13:11:45 2018
New Revision: 342510
URL: http://llvm.org/viewvc/llvm-project?rev=342510=rev
Log:
Fix fomit-frame-pointe+pg error
Modified:
cfe/trunk/lib/Driver/ToolChains/Clang.cpp
Modified: cfe/trunk/lib/Driver/ToolChains/Clang.cpp
URL:
If you're going to remove these, might as well remove the html files they
link to?
On the other hand, might be worth keeping these around/linked to, but for
posterity/archival purposes, rather than as sources of legitimately useful
information for people trying to use LLVM today.
On Fri, Sep 14,
Seems like it might be problematic to have this separate implementation of
checking whether frame pointers are enabled compared to the canonical one
(the one actually used to enable/disable frame pointers) in the static
"shouldUseFramePointer" Function?
(eg: apparently on some targets
Author: dblaikie
Date: Mon Aug 20 13:14:08 2018
New Revision: 340206
URL: http://llvm.org/viewvc/llvm-project?rev=340206=rev
Log:
DebugInfo: Add the ability to disable DWARF name tables entirely
This changes the current default behavior (from emitting pubnames by
default, to not emitting them by
Author: dblaikie
Date: Thu Aug 16 16:56:32 2018
New Revision: 339968
URL: http://llvm.org/viewvc/llvm-project?rev=339968=rev
Log:
Disable pubnames in NVPTX debug info using metadata
Added:
cfe/trunk/test/CodeGen/debug-nvptx.c
Modified:
cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
Modified:
Author: dblaikie
Date: Thu Aug 16 14:30:24 2018
New Revision: 339941
URL: http://llvm.org/viewvc/llvm-project?rev=339941=rev
Log:
Update for LLVM API change
Modified:
cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
URL:
On Wed, Aug 8, 2018 at 5:00 AM Ilya Biryukov via Phabricator <
revi...@reviews.llvm.org> wrote:
> ilya-biryukov added a comment.
>
> In https://reviews.llvm.org/D50154#1191002, @dblaikie wrote:
>
> > What's the motivation for clangd to differ from clang here?
>
>
> The presentation of diagnostics
On Tue, Aug 7, 2018 at 4:02 PM Alex L wrote:
> On Tue, 7 Aug 2018 at 11:38, David Blaikie wrote:
>
>>
>>
>> On Tue, Aug 7, 2018 at 11:22 AM Alex L wrote:
>>
>>> On Tue, 7 Aug 2018 at 10:52, David Blaikie via cfe-commits <
>>> cfe-commits@list
*nod* Maybe consistency's enough for now. But yeah, if you can test whether
the assertion fires (though for invalid locs, that usually means invalid
code - and we don't have nice big repositories of weird invalid code - just
the clang regression tests).
On Tue, Aug 7, 2018 at 3:27 PM Stephen
If it never comes up, maybe an assertion would suffice? (& if the assertion
ever does fire - hey, we've found a test case to use)
How'd you find this/what motivated you to make the change?
On Tue, Aug 7, 2018 at 3:11 PM Stephen Kelly wrote:
>
> Hi David,
>
> I'm happy to add a test case, but I
On Tue, Aug 7, 2018 at 11:22 AM Alex L wrote:
> On Tue, 7 Aug 2018 at 10:52, David Blaikie via cfe-commits <
> cfe-commits@lists.llvm.org> wrote:
>
>>
>>
>> On Tue, Aug 7, 2018 at 10:33 AM Alex Lorenz via Phabricator <
>> revi...@reviews.llvm.o
On Tue, Aug 7, 2018 at 10:33 AM Alex Lorenz via Phabricator <
revi...@reviews.llvm.org> wrote:
> arphaman added a comment.
>
> In https://reviews.llvm.org/D50154#1191002, @dblaikie wrote:
>
> > What's the motivation for clangd to differ from clang here? (& if the
> first
> > letter is going to
Looks good! Though it may be useful in the future to describe, in the
commit message, the motivation for a change - how'd you find this? What
motivated you to make this particular fix just now, etc? ("identified using
clang-tidy" or "spotted during post-commit review of change r", etc...)
On
Reckon there's a chance of improved diagnostic text in cases like this?
Will users understand what the problem is/how to fix it when they read
"temporary
implicitly bound to local reference will be destroyed at the end of the
full-expression" - feels very standard-ese-y to me? & I appreciate teh
What's the motivation for clangd to differ from clang here? (& if the first
letter is going to be capitalized, should there be a period at the end? But
also the phrasing of most/all diagnostic text isn't in the form of complete
sentences, so this might not make sense)
On Fri, Aug 3, 2018 at 1:44
test case?
On Mon, Jul 30, 2018 at 1:39 PM Stephen Kelly via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> Author: steveire
> Date: Mon Jul 30 13:39:14 2018
> New Revision: 338301
>
> URL: http://llvm.org/viewvc/llvm-project?rev=338301=rev
> Log:
> Avoid returning an invalid end source loc
Any chance this can/should be unit tested? (also, in general (though might
not matter in this instance), symmetric operators like == should be
implemented as non-members (though they can still be friends and if they
are, can be defined inline in the class definition as a member could be),
so any
Thanks for the fix!
Though maybe this isn't the best diagnostic experience - given that 'bar'
isn't technically an overloaded function, but is a function template -
worth doing something more precise here? (maybe not)
Wonder if there's similar handling for other diagnostic cases that could be
On Mon, Jul 9, 2018 at 1:52 PM Zachary Turner wrote:
> makeArrayRef() isn't necessary, but when I was first looking at this I had
> to stare at the code for a bit to see that there was an implicit conversion
> happening. So I put the makeArrayRef() just for the benefit of the person
> reading
Did this fail on an existing regression test, or is there a need for more
test coverage? (guessing it failed on existing tests)
Also, is the makeArrayRef necessary? Looks like if the original code
compiled (implicitly converting from vector to ArrayRef) then the new code
wouldn't need a
Author: dblaikie
Date: Fri Jun 29 14:58:24 2018
New Revision: 336020
URL: http://llvm.org/viewvc/llvm-project?rev=336020=rev
Log:
Spurious commit just to help Richard, because git is weird.
Modified:
cfe/trunk/test/Modules/codegen.test
Modified: cfe/trunk/test/Modules/codegen.test
URL:
Yeah, doesn't look like this code handles a value crossing the boundary of
the size of the bitfield type (it's reading only the low bit).
I suspect looking at the code that generates bitfield accesses would be
useful - and/or maybe actually calling into that very code, rather than
reimplementing
Author: dblaikie
Date: Thu Jun 28 15:58:04 2018
New Revision: 335938
URL: http://llvm.org/viewvc/llvm-project?rev=335938=rev
Log:
DebugInfo: Add -gno-gnu-pubnames to allow disabling gnu-pubnames later in the
command line
Modified:
cfe/trunk/include/clang/Driver/Options.td
Whenever possible, do include context for why a patch is being reverted in
the commit message - buildbot links, but also potentially
describing/copy-pasting inline whatever the problem(s) are. This makes it
easier for people tracking the state of upstream to know whether they may
need to pull in
Author: dblaikie
Date: Thu Jun 14 16:09:06 2018
New Revision: 334778
URL: http://llvm.org/viewvc/llvm-project?rev=334778=rev
Log:
Modules: Fix implicit output file for .cppm to .pcm instead of stdout
This code was introduced back in r178148, a change to introduce
-module-file-info - which still
Author: dblaikie
Date: Mon Jun 4 14:23:29 2018
New Revision: 333955
URL: http://llvm.org/viewvc/llvm-project?rev=333955=rev
Log:
Update for an LLVM header file move
Modified:
cfe/trunk/lib/CodeGen/CGCall.cpp
Modified: cfe/trunk/lib/CodeGen/CGCall.cpp
URL:
Probably CC someone from apple here & ask about rdar://8678458 - they can
look it up & provide the missing context.
On Mon, Jun 4, 2018 at 8:17 AM Roman Lebedev via Phabricator <
revi...@reviews.llvm.org> wrote:
> lebedev.ri added reviewers: rjmccall, akyrtzi.
> lebedev.ri added a comment.
>
>
On Thu, May 31, 2018 at 11:20 AM Peter Collingbourne via Phabricator <
revi...@reviews.llvm.org> wrote:
> pcc created this revision.
> pcc added reviewers: tejohnson, dblaikie.
> Herald added subscribers: JDevlieghere, hiraditya, eraman, inglorion,
> mehdi_amini.
>
>
Probably nice to mention in the commit message what the fix was (& if/where
there was there a test added for it?) so readers don't have to try to
eyeball diff this commit against the otherone.
On Wed, May 23, 2018 at 4:45 PM Richard Smith via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
>
On Fri, May 18, 2018 at 2:22 PM Eric Liu <ioe...@google.com> wrote:
> Thanks a lot for looking into this Bruno! The fix looks promising; I'll
> give it a try next week :D
>
> On Fri, May 18, 2018 at 10:33 PM David Blaikie via cfe-commits <
> cfe-commits@lists.llvm.or
I haven't looked in detail here, but in general: Don't split an
implementation and its headers into different notional libraries, as that
breaks modular code generation (an implementation and its headers usually
have circular dependencies - inline functions that call non-inline
functions, and the
On Mon, May 7, 2018 at 12:57 PM Keane, Erich wrote:
> I don’t believe the member initialization for bitfields (of which all the
> ‘0’ values are) happened until C++17, right?
>
Ah, fair point - I hadn't looked at the types, just what was visible in the
patch. (& I don't
501 - 600 of 1272 matches
Mail list logo