- Sep 29, 2011
-
-
Duncan Sands authored
llvm-svn: 140784
-
Justin Holewinski authored
llvm-svn: 140783
-
Peter Collingbourne authored
llvm-svn: 140782
-
Howard Hinnant authored
llvm-svn: 140781
-
John McCall authored
pointer to the annotated struct type can be used as an Objective-C object pointer. If an argument is given, the type is actually "toll-free bridged" to the specific type named there, rather than just to 'id'. For now, we cannot rely on all types being so annotated, and we'll always have to have exceptions for things like CFTypeRef (aka const void*), but this is clearly a good foundation for improving toolage in this area. llvm-svn: 140779
-
Ted Kremenek authored
Like IBOutletCollection, it only makes sense to apply the IBOutlet annotation to Objective-C object types. Fixes <rdar://problem/10142685>. llvm-svn: 140778
-
Ted Kremenek authored
Do not warn about empty format strings when there are no data arguments. Fixes <rdar://problem/9473155>. llvm-svn: 140777
-
Jakob Stoklund Olesen authored
This also makes it possible to reduce the number of pseudo instructions and get rid of the encoding information. llvm-svn: 140776
-
David Blaikie authored
llvm-svn: 140775
-
NAKAMURA Takumi authored
llvm-svn: 140774
-
Jakob Stoklund Olesen authored
llvm-svn: 140773
-
Jakob Stoklund Olesen authored
This enables NEON domain tracking across basic blocks, but should otherwise do the same thing. llvm-svn: 140772
-
Daniel Dunbar authored
Basic/Diagnostic: Kill off a few unnecessary functions now that refactoring is done, and add a note that the new setDiagnosticGroup{...} methods only operate on the current diagnostic state. llvm-svn: 140771
-
Daniel Dunbar authored
Basic/Diagnostics: Rewrite DiagnosticIDs::getDiagnosticLevel completely to be straighter line code, use the new DiagnosticMappingInfo flags, and eliminate the odd MAP_WARNING_NO_WERROR and friend mappings. - This fixes a host of obscure bugs with regards to how warning mapping options composed with one another, and I believe makes the code substantially easier to read and reason about. llvm-svn: 140770
-
Andrew Trick authored
llvm-svn: 140769
-
Daniel Dunbar authored
Basic/Diagnostics: Add three explicit bits to DiagnosticMappingInfo to track "no-warning-as-error", "no-error-as-fatal", and "show-in-system-header", and update DiagnosticsEngine::setDiagnosticGroup{WarningAsError,ErrorAsFatal} and GetDefaultDiagMappingInfo to set them appropriately. - No actual functionality change for now, we still also use the diag::Mapping::{MAP_WARNING_NO_ERROR,MAP_ERROR_NO_FATAL,MAP_WARNING_SHOW_IN_SYSTEM_HEADER} for a little while longer. llvm-svn: 140768
-
Jakob Stoklund Olesen authored
llvm-svn: 140767
-
Daniel Dunbar authored
that in DiagnosticEngine instead of the convoluted calling into DiagnosticIDs which then calls back into the DiagnosticsEngine. llvm-svn: 140766
-
Daniel Dunbar authored
- Also, spell const_iterator as const_iterator. llvm-svn: 140765
-
Daniel Dunbar authored
llvm-svn: 140764
-
Daniel Dunbar authored
and eliminate setDiagnosticMappingInternal. llvm-svn: 140763
-
Andrew Trick authored
Rewriting the entire loop nest now requires -enable-lsr-nested. See PR11035 for some performance data. A few unit tests specifically test nested LSR, and are now under a flag. llvm-svn: 140762
-
Andrew Trick authored
llvm-svn: 140761
-
Daniel Dunbar authored
storing mappings with that instead of straying some magic constants about the source. llvm-svn: 140760
-
Daniel Dunbar authored
llvm-svn: 140759
-
Andrew Trick authored
llvm-svn: 140758
-
Johnny Chen authored
it enables the hardware watchpoint for all existing threads. Add a test file for that. Also fix MachThreadList::DisableHardwareWatchpoint(). llvm-svn: 140757
-
Daniel Dunbar authored
llvm-svn: 140756
-
Daniel Dunbar authored
llvm-svn: 140755
-
Bill Wendling authored
llvm-svn: 140754
-
Justin Holewinski authored
llvm-svn: 140753
-
Daniel Dunbar authored
Basic/Diagnostics: Add an isDefaultMappingAsError method, and switch TextDiagnosticPrinter to use that instead of extracting the current mapping via getDiagnosticLevel, which fixes one class of corner cases w.r.t. printing the "-Werror" diagnostic option marker. - The TextDiagnosticPrinter code is still fragile as it is just "reverse engineering" what the diagnostic engine is doing. Not my current priority to fix though. llvm-svn: 140752
-
Michael J. Spencer authored
This doesn't use formated_raw_ostream because it doesn't support the functionality needed. llvm-svn: 140751
-
Greg Clayton authored
up the implementation details of the on disk hash, these changed implement the changes in the on disk table format. llvm-svn: 140750
-
Daniel Dunbar authored
llvm-svn: 140749
-
Douglas Gregor authored
llvm-svn: 140748
-
Daniel Dunbar authored
DiagnosticsEngine::setDiagnosticGroup{ErrorAsFatal,WarningAsError} methods which more accurately model the correct API -- no internal change to the diagnostics engine yet though. - Also, stop honoring -Werror=everything (etc.) as a valid (but oddly behaved) option. llvm-svn: 140747
-
Douglas Gregor authored
from sources. llvm-svn: 140746
-
Eric Christopher authored
llvm-svn: 140745
-
Jakob Stoklund Olesen authored
The function needs to scan the implicit operands anyway, so no performance is won by caching the number of implicit operands added to an instruction. This also fixes a bug when adding operands after an implicit operand has been added manually. The NumImplicitOps count wasn't kept up to date. MachineInstr::addOperand() will now consistently place all explicit operands before all the implicit operands, regardless of the order they are added. It is possible to change an MI opcode and add additional explicit operands. They will be inserted before any existing implicit operands. The only exception is inline asm instructions where operands are never reordered. This is because of a hack that marks explicit clobber regs on inline asm as <implicit-def> to please the fast register allocator. This hack can go away when InstrEmitter and FastIsel can add exact <dead> flags to physreg defs. llvm-svn: 140744
-