- Nov 24, 2013
-
-
Shankar Easwaran authored
No change in functionality. llvm-svn: 195582
-
Aaron Ballman authored
Switching the common attribute over to using the generic diagnostic, and removing the now-unused diagnostic. Updates a test case. llvm-svn: 195581
-
Aaron Ballman authored
__declspec(uuid) is only supported for C++ code according to MSDN (as well as behaviorally in MSVC). This adds a generic diagnostic that we use for uuid, and can use for some other attributes as well, and adds a testcase. llvm-svn: 195580
-
Aaron Ballman authored
__declspec(uuid) is only allowed on a class according to MSDN; this makes the semantic checking consistent with what the attribute specifies in Attr.td. Also adds a test case. llvm-svn: 195579
-
Aaron Ballman authored
Reviewed by Fariborz Jahanian llvm-svn: 195578
-
Alp Toker authored
MSVC applies these to the following declaration only if present, otherwise silently ignores them whereas we'll issue a warning. Handling differs from ordinary attributes appearing in the same place, so add a Sema test to make sure we get it right. llvm-svn: 195577
-
Venkatraman Govindaraju authored
[Sparc] Emit large negative adjustments to SP/FP with sethi+xor instead of sethi+or. This generates correct code for both sparc32 and sparc64. llvm-svn: 195576
-
Venkatraman Govindaraju authored
llvm-svn: 195575
-
Venkatraman Govindaraju authored
[SparcV9]: Do not emit .register directives for global registers that are clobbered by calls but not used in the function itself. llvm-svn: 195574
-
Venkatraman Govindaraju authored
llvm-svn: 195573
-
Argyrios Kyrtzidis authored
llvm-svn: 195572
-
Sergey Matveev authored
Secondary allocator is mmap-based, so the memory is already zeroed. llvm-svn: 195571
-
Sergey Matveev authored
Performance improvement. Also, the allocator was using CompactSizeClassMap for no good reason, so I switched it to DefaultSizeClassMap. llvm-svn: 195570
-
Reed Kotler authored
to what is needed for constant islands. The prescan method for Mips16 constant islands will eventually go away. It is only temporary and should be done earlier when the instructions are first created or from the DAG. If we keep it here we need to handle better the situation where constant islands is called multiple times since don't want to prescan more than once. llvm-svn: 195569
-
Bill Wendling authored
llvm-svn: 195567
-
Reed Kotler authored
llvm-svn: 195566
-
Reed Kotler authored
I had to move some code and I moved a declaration forward past it's first use in the function but by nutty coincidence there was another variable of the same name and type and with completely unrelated function that was declared globally in the class so no compilation error ensued. It required some unusual conditions for it to even matter. Caused test case casts.c in test-suite to fail during compilation with a duplicate symbol error. I would have noticed it during final code review for this port. llvm-svn: 195565
-
Argyrios Kyrtzidis authored
llvm-svn: 195564
-
James Dennett authored
llvm-svn: 195563
-
Alp Toker authored
This matches other empty() container functions in LLVM. No actual usage problems discovered in this instance. llvm-svn: 195562
-
- Nov 23, 2013
-
-
Ted Kremenek authored
llvm-svn: 195561
-
Ted Kremenek authored
This refines some diagnostics and reduces some boilerplate checking logic. llvm-svn: 195560
-
Ted Kremenek authored
llvm-svn: 195559
-
Alp Toker authored
Full discourse at: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20131104/092514.html http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-November/068124.html Patch by Dimitry Andric and Alexey Dokuchaev! llvm-svn: 195558
-
Jason Molenda authored
the installed SDK to using the current OS installed headers/libraries. This change is to address the removal of the Python framework from the Mac OS X 10.9 (Mavericks) SDK, and is the recommended workaround via https://developer.apple.com/library/mac/technotes/tn2328/_index.html llvm-svn: 195557
-
Argyrios Kyrtzidis authored
[CodeGen] If there is a function definition with duplicate mangled name, emit an error instead of asserting. rdar://15522601 & http://llvm.org/PR18031 llvm-svn: 195556
-
Daniel Jasper authored
This fixes llvm.org/PR17241. llvm-svn: 195555
-
Rafael Espindola authored
Clang knows how to use the gnu assembler directly from doing so on linux and hurd. The existing support worked out of the box on cygwin and mingw and I was able to bootstrap clang with it in both systems (with pending patches for the new mingw abi, but that is independent of the assembler). llvm-svn: 195554
-
Daniel Jasper authored
This fixes llvm.org/PR17979. Before: void f() { g(/*aaa=*/x, /*bbb=*/ !y); } After: void f() { g(/*aaa=*/x, /*bbb=*/!y); } llvm-svn: 195553
-
Daniel Jasper authored
With Style.BreakBeforeBinaryOperators, clang-format breaks incorrectly. This fixes llvm.org/PR17994. Before: return boost::fusion::at_c<0>(iiii).second == boost::fusion::at_c <1>(iiii).second; After: return boost::fusion::at_c<0>(iiii).second == boost::fusion::at_c<1>(iiii).second; llvm-svn: 195552
-
Rafael Espindola authored
llvm-svn: 195551
-
Daniel Jasper authored
Also disallow breaking between "@" and "{" or "[". Before: - (NSAttributedString *)attributedStringForSegment:(NSUInteger)segment index:(NSUInteger)index attributes:(NSDictionary *)attributes nonDigitAttributes:(NSDictionary *) nonDigitAttributes; [mailComposeViewController setToRecipients:@ [ NSBundle.mainBundle.infoDictionary[@"ABBFeedbackEmail"] ]]; After: - (NSAttributedString *)attributedStringForSegment:(NSUInteger)segment index:(NSUInteger)index attributes:(NSDictionary *)attributes nonDigitAttributes: (NSDictionary *)nonDigitAttributes; [mailComposeViewController setToRecipients: @[ NSBundle.mainBundle.infoDictionary[@"ABBFeedbackEmail"] ]]; This fixes llvm.org/PR18030. llvm-svn: 195550
-
Kostya Serebryany authored
llvm-svn: 195549
-
Benjamin Kramer authored
The following patch enables the non-fragile ABI for the ObjFW runtime. However, I noticed that it is not possible anymore to disable it with -fno-objc-nonfragile-abi like it was before. I think this functionality should be restored, but I guess this is not in scope for 3.4 anymore. Patch by Jonathan Schleifer! llvm-svn: 195547
-
Daniel Jasper authored
Add a severe penalty for not using column layout for braced lists. If there are solutions with column layout, these are generally preferable over bin-packed solutions. Before: std::vector<MyValues> aaaaaaaaaaaaaaaaaaa{ aaaaaaa, aaaaaaaaaa, aaaaa, aaaaaaaaaaaaaaa, aaa, aaaaaaaaaa, a, aaaaaaaaaaaaaaaaaaaaa, aaaaaaaaaaaa, aaaaaaaaaaaaaaaaaaa + aaaaaaaaaaaaaaaaaaa, aaaaaaa, a }; After: std::vector<MyValues> aaaaaaaaaaaaaaaaaaa{ aaaaaaa, aaaaaaaaaa, aaaaa, aaaaaaaaaaaaaaa, aaa, aaaaaaaaaa, a, aaaaaaaaaaaaaaaaaaaaa, aaaaaaaaaaaa, aaaaaaaaaaaaaaaaaaa + aaaaaaaaaaaaaaaaaaa, aaaaaaa, a }; llvm-svn: 195546
-
Richard Smith authored
llvm-svn: 195545
-
Jason Molenda authored
SmallPtrSet.cpp use different methods if SmallPtrSet.h is included in C++11 mode. Building llvm in C++03 mode and lldb in C++11 mode resulted in a link-time failure with the C++11-mode-specific method not being found in the llvm build. llvm-svn: 195544
-
Richard Smith authored
module. Use the marker to diagnose cases where we try to transition between submodules when not at the top level (most likely because a closing brace was missing at the end of a header file, but is also possible if submodule headers attempt to do something fundamentally non-modular, like our .def files). llvm-svn: 195543
-
Greg Clayton authored
llvm-svn: 195542
-
Greg Clayton authored
Improved the detection of a valid GDB server where we actually can connect to a socket, but then it doesn't read or write anything (which happens with some USB mux software). Host::MakeDirectory() now can make as many intermediate directories as needed. The testsuite now has very initial support for remote test suite running. When running on a remote platform, the setUp function for the test will make a new directory and select it as the working directory on the remote host. Added a common function that can be used to create the short option string for getopt_long calls. llvm-svn: 195541
-