- Feb 16, 2014
-
-
Nico Rieck authored
llvm-svn: 201480
-
Nico Rieck authored
llvm-svn: 201478
-
Nico Rieck authored
llvm-svn: 201477
-
Nico Rieck authored
llvm-svn: 201476
-
Nico Rieck authored
llvm-svn: 201475
-
- Feb 15, 2014
-
-
David Blaikie authored
llvm-svn: 201470
-
Argyrios Kyrtzidis authored
inside a GNU statement expression. rdar://16064952 llvm-svn: 201468
-
David Majnemer authored
1. CHECK-NOT-LABEL is not valid FileCheck. 2. This test would not trigger the CHECK-NOT-LABEL even if 'interface' is replaced with 'struct'. llvm-svn: 201462
-
David Blaikie authored
llvm-svn: 201458
-
Manman Ren authored
When a function has a single counter, we will offset the pointer by 1 when parsing the next function. If a function has multiple counters, we are okay after skipping rest of the counters. llvm-svn: 201456
-
David Majnemer authored
Some lines intended to be used for testing x86_64 ABI compatibility were not firing because lines were annotated with the wrong FileCheck prefix: X64 vs 64 llvm-svn: 201454
-
David Majnemer authored
Some lines intended to be used for testing x86_64 ABI compatibility were not firing because lines were annotated with the wrong FileCheck prefix: X64 vs C64 llvm-svn: 201453
-
Fariborz Jahanian authored
mismatches the one declared in current class; in addition to those that are directly overridden. // rdar://15967517 llvm-svn: 201446
-
- Feb 14, 2014
-
-
Richard Smith authored
C++11 mode. Continue to disallow return type deduction in C++11 for now. llvm-svn: 201438
-
David Blaikie authored
For some reason we have two bits of code handling this printing: lib/AST/Decl.cpp: OS << "<anonymous namespace>"; lib/AST/TypePrinter.cpp: OS << "<anonymous namespace>::"; it would be nice if we only had one... llvm-svn: 201437
-
Fariborz Jahanian authored
properties by fixing shouldBindAsLValue to accept arrays (like record types) because we always manipulate them in memory. Patch suggested by John MaCall. // rdar://15610943 llvm-svn: 201428
-
Argyrios Kyrtzidis authored
continue header lookup using the framework include as filename. This allows us to conveniently treat #import "Foo.h" as an implicit module import if we can resolve "Foo/Foo.h" as such. rdar://16042979 llvm-svn: 201419
-
Evgeniy Stepanov authored
llvm-svn: 201391
-
Jiangning Liu authored
llvm-svn: 201384
-
Eric Christopher authored
the dwarf .debug_aranges section. llvm-svn: 201379
-
Adrian Prantl authored
llvm-svn: 201375
-
- Feb 13, 2014
-
-
Kaelyn Uhrain authored
and the class name is shadowed by another member. Recovery still needs to be figured out, which is non-trivial since the parser has already gone down a much different path than if it had recognized the class template as type instead of seeing the member that shadowed the class template. llvm-svn: 201360
-
Daniel Sanders authored
Re-commit: Demote EmitRawText call in AsmPrinter::EmitInlineAsm() and remove hasRawTextSupport() call Summary: AsmPrinter::EmitInlineAsm() will no longer use the EmitRawText() call for targets with mature MC support. Such targets will always parse the inline assembly (even when emitting assembly). Targets without mature MC support continue to use EmitRawText() for assembly output. The hasRawTextSupport() check in AsmPrinter::EmitInlineAsm() has been replaced with MCAsmInfo::UseIntegratedAs which when true, causes the integrated assembler to parse inline assembly (even when emitting assembly output). UseIntegratedAs is set to true for targets that consider any failure to parse valid assembly to be a bug. Target specific subclasses generally enable the integrated assembler in their constructor. The default value can be overridden with -no-integrated-as. All tests that rely on inline assembly supporting invalid assembly (for example, those that use mnemonics such as 'foo' or 'hello world') have been updated to disable the integrated assembler. Changes since review (and last commit attempt): - Fixed test failures that were missed due to configuration of local build. (fixes crash.ll and a couple others). - Fixed tests that happened to pass because the local build was on X86 (should fix 2007-12-17-InvokeAsm.ll) - mature-mc-support.ll's should no longer require all targets to be compiled. (should fix ARM and PPC buildbots) - Object output (-filetype=obj and similar) now forces the integrated assembler to be enabled regardless of default setting or -no-integrated-as. (should fix SystemZ buildbots) Reviewers: rafael Reviewed By: rafael CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2686 llvm-svn: 201333
-
Robert Lytton authored
llvm-svn: 201312
-
Robert Lytton authored
XCore target has -fno-exception as the default option Pass on "-fexceptions" flag to xcc (linker) llvm-svn: 201310
-
Renato Golin authored
This commit is not strictly correct nor accounts for all uses (shared objects, for example), but it allows one to test the compiler-rt library on GNU targets. Using this patch to run the test-suite has already shown me problems on ARM. Since this is a Darwin-only flag, nobody is using it, so it shouldn't be a problem. I will need extension to deal with the shared cases, but since we're not compiling libclang_rt.so, that's not yet applicable. Many other problems will have to be fixed first in compiler-rt (such as removing the 'arch' name from it and making it trully multi-arch, moving it to the default lib directory, make both .a and .so variants, etc). llvm-svn: 201307
-
Alexey Bataev authored
llvm-svn: 201297
-
Aaron Ballman authored
There is no std namespace for standards-based attributes. Removing the scope qualifier and updating the only affected test case. llvm-svn: 201294
-
Yunzhong Gao authored
According to the GNU docs, zero-sized bitfields should not be affected by the packed attribute. Differential Revision: http://llvm-reviews.chandlerc.com/D2693 llvm-svn: 201288
-
John McCall authored
useBitFieldTypeAlignment() and appears to ignore the special bit-packing semantics of __attribute__((packed)). Further flesh out an already-extensive comment. llvm-svn: 201282
-
John McCall authored
llvm-svn: 201281
-
Reid Kleckner authored
llvm-svn: 201278
-
Reid Kleckner authored
These features are new in VS 2013 and are necessary in order to layout std::ostream correctly. Currently we have an ABI incompatibility when self-hosting with the 2013 stdlib in our convertible_fwd_ostream wrapper in gtest. This change adds another implicit attribute, MSVtorDispAttr, because implicit attributes are currently the best way to make sure the information stays on class templates through instantiation. Reviewers: majnemer Differential Revision: http://llvm-reviews.chandlerc.com/D2746 llvm-svn: 201274
-
- Feb 12, 2014
-
-
Hans Wennborg authored
We don't support using the MS ABI with non-x86/x86_64 targets anyway. llvm-svn: 201260
-
David Majnemer authored
Allowing alignment past this point causes wrap around within clang. N.B. GCC has the same restriction. llvm-svn: 201254
-
Adrian Prantl authored
llvm-svn: 201250
-
Dmitri Gribenko authored
This commit improves libclang to report the error condition when CXTranslationUnit can not be created because of a stale PCH file. This allows the caller, for example, to rebuild the PCH file and retry the request. There two are APIs in libclang that return a CXTranslationUnit and don't support reporting detailed errors (the only error condition is a NULL result). For these APIs, a second, superior, version is introduced -- clang_createTranslationUnit2 and clang_parseTranslationUnit2. These functions return a CXTranslationUnit indirectly and also return an error code. Old functions are still supported and are nothing more than convenience wrappers that ignore extended error codes. As a cleanup, this commit also categorizes some libclang errors in the functions I had to modify anyway. llvm-svn: 201249
-
Adrian Prantl authored
information provided in the referenced radar. llvm-svn: 201248
-
Adrian Prantl authored
This reverts commit r201183. The test, albeit undocumented and badly written is still testing something useful. It will be updated in a subsequent commit. llvm-svn: 201247
-
Daniel Sanders authored
Revert r201237+r201238: Demote EmitRawText call in AsmPrinter::EmitInlineAsm() and remove hasRawTextSupport() call It introduced multiple test failures in the buildbots. llvm-svn: 201241
-