hubert.reinterpretcast updated this revision to Diff 55728.
hubert.reinterpretcast added a comment.
Use AlignOf instead of AlignmentCalcHelper
Since BaseTy should be aligned properly for its trailing objects, the
use of AlignmentCalcHelper is unnecessary.
http://reviews.llvm.org/D19770
Files:
echristo accepted this revision.
echristo added a comment.
This revision is now accepted and ready to land.
Nice. If you wouldn't mind splitting out into 3 patches (all ok):
a) The initial testcase,
b) the mno-cx16 patch and associated test
c) The x87 part and associated test.
You'll also want t
pcc added a comment.
> It appears that Clang already supports an -mthread_model=single option, so do
> you recommend that I remove the -mllvm -safe-stack-usp-storage=single-thread
> option and rely on -mthread_model instead?
Makes sense to me. We're free to break `-mllvm` flags, they are for
mlemay-intel added a comment.
In http://reviews.llvm.org/D19483#417865, @pcc wrote:
> > This makes sense for the example I gave. However, there are also more
> > complicated situations. Sometimes it is necessary to specify different
> > options for different files that are compiled for the same
hubert.reinterpretcast added a comment.
An example of using `FixedSizeStorage` can be found in
http://reviews.llvm.org/D19771.
Comment at: include/llvm/Support/TrailingObjects.h:352
@@ +351,3 @@
+template
+using _ =
+llvm::AlignedCharArrayhttp://reviews.llvm.or
hubert.reinterpretcast created this revision.
hubert.reinterpretcast added reviewers: rsmith, faisalv, aaron.ballman.
hubert.reinterpretcast added subscribers: nwilson, cfe-commits.
This change replaces the custom FixedSizeTemplateParameterListStorage
implementation with one that follows the inte
hubert.reinterpretcast created this revision.
hubert.reinterpretcast added reviewers: rsmith, faisalv, aaron.ballman.
hubert.reinterpretcast added subscribers: nwilson, cfe-commits, llvm-commits.
This change introduces two types, `FixedSizeStorage` and
`FixedSizeStorageOwner`, which can be used t
pcc added a comment.
> This makes sense for the example I gave. However, there are also more
> complicated situations. Sometimes it is necessary to specify different
> options for different files that are compiled for the same OS. For example,
> early during the initialization of a dynamic link
mlemay-intel added a comment.
In http://reviews.llvm.org/D19483#417857, @pcc wrote:
> You should be using `-target x86-unknown-contiki` or similar. That should
> tune the behaviour to what is required for that OS. See what we have in
> `TargetLoweringBase::getSafeStackPointerLocation` to provid
pcc added a comment.
You should be using `-target x86-unknown-contiki` or similar. That should tune
the behaviour to what is required for that OS. See what we have in
`TargetLoweringBase::getSafeStackPointerLocation` to provide Android-specific
behaviour for example.
The existence of flags is
compnerd closed this revision.
compnerd added a comment.
Committed as SVN r268167. Thanks for the patch!
http://reviews.llvm.org/D17841
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commi
Author: compnerd
Date: Sat Apr 30 16:14:01 2016
New Revision: 268167
URL: http://llvm.org/viewvc/llvm-project?rev=268167&view=rev
Log:
python: add bindings for children of diagnostics
This exposes the Clang API bindings clang_getChildDiagnostics (which returns a
CXDiagnosticSet) and clang_getNumD
mlemay-intel added a comment.
In http://reviews.llvm.org/D19483#417844, @pcc wrote:
> We shouldn't be adding (much less documenting) `-mllvm` flags. Is there any
> reason why this behavior can't be gated on the OS?
We actually already have added at least one `-mllvm` flag: `-mllvm
-safe-stack
pcc added a comment.
We shouldn't be adding (much less documenting) `-mllvm` flags. Is there any
reason why this behavior can't be gated on the OS?
http://reviews.llvm.org/D19483
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.
LGTM. Do you have commit access?
Cheers,
Rafael
On 11 April 2016 at 14:49, Michael Lampe wrote:
> New patch attached.
>
> -Michael
>
>
> Rafael Espíndola wrote:
>>
>> LGTM with a comment saying why it is needed.
>>
>> Cheers,
>> Rafael
>>
>>
>> On 22 March 2016 at 23:02, Michael Lampe via cfe-c
etienneb added a comment.
If you are interested to a quick chat on this Checker, ping me. I know other
cases that should be filtered and I'm lacking time to implement them. Here is a
common one I would lie to see happening (base on comments):
const char* A[] = {
// This is a entry
"en
szdominik created this revision.
szdominik added reviewers: alexfh, etienneb.
szdominik added subscribers: cfe-commits, xazax.hun.
Additional heuristic to misc-suspicious-missing-comma checker, based on the
(in)equality of the explicitly given array size and the real array size.
Note: in these ca
zaks.anna added a comment.
You conditionally defined when you build ON Windows machine, not when you build
FOR Windows. You should be able to query the compiler to check which targets
it's building for.
http://reviews.llvm.org/D18073
___
cfe-commi
teemperor updated this revision to Diff 55716.
teemperor added a comment.
Merged all tests into one file.
http://reviews.llvm.org/D19312
Files:
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDeclCXX.cpp
test/SemaCXX/warn-undefined-in-ctor
ogoffart added a comment.
An alternative patch is uploaded there: 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 created this revision.
ogoffart added reviewers: cfe-commits, rsmith.
This is an alternative to http://reviews.llvm.org/D19327
We want to keep all the invalid function declarations as part of the AST.
This patch depends also on http://reviews.llvm.org/D19763 otherwise the tests
in SemaC
ogoffart created this revision.
ogoffart added reviewers: cfe-commits, rsmith.
This code should be an error:
void foo(int);
void f3() {
int foo(float);
{
float foo(int); // expected-error {{functions that differ only in their
return type cannot be overloaded}}
}
}
the f
majnemer added inline comments.
Comment at: lib/AST/MicrosoftMangle.cpp:1583-1584
@@ -1579,2 +1582,4 @@
case QMM_Result:
+// Presence of __unaligned qualifier shouldn't affect mangling here.
+Quals.removeUnaligned();
if ((!IsPointer && Quals) || isa(T)) {
-
rmaprath added a comment.
In http://reviews.llvm.org/D19412#417682, @EricWF wrote:
> In http://reviews.llvm.org/D19412#416596, @rmaprath wrote:
>
> > In http://reviews.llvm.org/D19412#416183, @EricWF wrote:
> >
> > > OK. I *think* this is my last round of review comments except for one
> > > spe
24 matches
Mail list logo