- Jun 20, 2012
-
-
James Dennett authored
llvm-svn: 158778
-
Dmitri Gribenko authored
llvm-svn: 158777
-
James Dennett authored
* Escaped # and < characters in Doxygen comments as needed; * Removed a Doxygen comment in HeaderSearch.cpp that was redundant with the corresponding comment in the header file. llvm-svn: 158776
-
James Dennett authored
llvm-svn: 158775
-
James Dennett authored
* Escape < characters in Doxygen comments as needed; * Demote one Doxygen comment to a regular comment to fix a Doxygen warning. llvm-svn: 158774
-
James Dennett authored
* Escaped # characters in Doxygen comments as needed; * Added/fixed \file and \brief markup to add summaries to Doxygen output. llvm-svn: 158773
-
Kaelyn Uhrain authored
Also add a couple of unit tests to check the invalid-PCH error messages to satisfy PR4568 and for the assertion (introduced in r149918 and fixed in r158769) that would cause clang to crash when given an empty PCH. llvm-svn: 158772
-
Dmitri Gribenko authored
* Retain comments in the AST * Serialize/deserialize comments * Find comments attached to a certain Decl * Expose raw comment text and SourceRange via libclang llvm-svn: 158771
-
Nick Kledzik authored
Add permissions(), map_file_pages(), and unmap_file_pages() to llvm::sys::fs and add unit test. Unix is implemented. Windows side needs to be implemented. llvm-svn: 158770
-
Kaelyn Uhrain authored
llvm::RawMemoryObject handles empty ranges just fine, and the assert can be triggered in the wild by e.g. invoking clang with a file that included an empty pre-compiled header file when clang has been built with assertions enabled. Without assertions enabled, clang will properly report that the empty file is not a valid PCH. llvm-svn: 158769
-
Nico Weber authored
llvm-svn: 158768
-
Alexis Hunt authored
caused a crash in an obscure case. On the plus side, it caused me to catch another bug by inspection. llvm-svn: 158767
-
Jakob Stoklund Olesen authored
When LiveIntervals is tracking fixed interference in regunits, make sure to update those intervals as well. Currently guarded by -live-regunits. llvm-svn: 158766
-
Bill Wendling authored
llvm-svn: 158764
-
Alexis Hunt authored
llvm-svn: 158763
-
Chad Rosier authored
llvm-svn: 158762
-
DeLesley Hutchins authored
attributes into the ThreadSafetyAttributes group, where the other warnings currently live. llvm-svn: 158761
-
Tanya Lattner authored
Add error checking for the static qualifier which is now allowed in certain situations for OpenCL 1.2. Use the CL version to turn on this feature. Added test case for 1.2 static storage class feature. llvm-svn: 158759
-
Chad Rosier authored
ensureAlignment() in MachineFunction). Also, drop setMaxAlignment() in favor of this new function. This creates a main entry point to setting MaxAlignment, which will be helpful for future work. No functionality change intended. llvm-svn: 158758
-
Lang Hames authored
This patch adds DAG combines to form FMAs from pairs of FADD + FMUL or FSUB + FMUL. The combines are performed when: (a) Either AllowExcessFPPrecision option (-enable-excess-fp-precision for llc) OR UnsafeFPMath option (-enable-unsafe-fp-math) are set, and (b) TargetLoweringInfo::isFMAFasterThanMulAndAdd(VT) is true for the type of the FADD/FSUB, and (c) The FMUL only has one user (the FADD/FSUB). If your target has fast FMA instructions you can make use of these combines by overriding TargetLoweringInfo::isFMAFasterThanMulAndAdd(VT) to return true for types supported by your FMA instruction, and adding patterns to match ISD::FMA to your FMA instructions. llvm-svn: 158757
-
Fariborz Jahanian authored
name as an existing ivar since this is common source of error when people remove @synthesize to take advantage of autosynthesis. // rdar://11671080 llvm-svn: 158756
-
Jakob Stoklund Olesen authored
llvm-svn: 158755
-
Chad Rosier authored
llvm-svn: 158754
-
Bill Wendling authored
llvm-svn: 158753
-
Bill Wendling authored
llvm-svn: 158752
-
Johnny Chen authored
Chnage VerifyWatchpointIDs() from a static function to a class function to be called from other source files. llvm-svn: 158751
-
Aaron Ballman authored
Reapplying the changes from r158717 as they were rolled back to avoid merge conflicts from a separate problematic patch. llvm-svn: 158750
-
- Jun 19, 2012
-
-
Jakob Stoklund Olesen authored
The original r158700 caused crashes in the gcc test suite, g++.abi/vtable3a.C among others. It also caused failures in the libc++ test suite. llvm-svn: 158749
-
Jakob Stoklund Olesen authored
The test was failing on Linux because of asm syntax differences. llvm-svn: 158748
-
Richard Smith authored
types to actually includes the value, rather than saying <uninitialized>. llvm-svn: 158745
-
David Blaikie authored
llvm-svn: 158744
-
Jakob Stoklund Olesen authored
The PPC::EXTSW instruction preserves the low 32 bits of its input, just like some of the x86 instructions. Use it to reduce register pressure when the low 32 bits have multiple uses. This requires a small change to PeepholeOptimizer since EXTSW takes a 64-bit input register. This is related to PR5997. llvm-svn: 158743
-
Jakob Stoklund Olesen authored
No functional change. llvm-svn: 158742
-
James Dennett authored
llvm-svn: 158741
-
James Dennett authored
llvm-svn: 158740
-
James Dennett authored
also being sufficiently conformant to LLVM's coding standards. llvm-svn: 158739
-
Fariborz Jahanian authored
initializer need be null initialized before initializer takes hold, just like any other initialized retainable object pointer. // rdar://11016025 llvm-svn: 158738
-
Johnny Chen authored
Test suite cleanup: use Python API to remove files as part of cleanup instead of running OS commands. llvm-svn: 158737
-
Ted Kremenek authored
llvm-svn: 158735
-
Chad Rosier authored
rdar://11684107 llvm-svn: 158734
-