- May 08, 2012
-
-
Anna Zaks authored
don't reason about. Self is just like a local variable in init methods, so it can be assigned anything like result of static functions, other methods ... So to suppress false positives that result in such cases, stop tracking the checker-specific state after self is being assigned to (unless the value is't being assigned to is either self or conforms to our rules). This change does not invalidate any existing regression tests. llvm-svn: 156420
-
Jim Grosbach authored
When a combine twiddles an extract_vector, care should be take to preserve the type of the index operand. No luck extracting a reasonable testcase, unfortunately. rdar://11391009 llvm-svn: 156419
-
Fariborz Jahanian authored
prototypes should both return `struct objc_class *`. // rdar://11375495 llvm-svn: 156418
-
Daniel Dunbar authored
llvm-svn: 156417
-
Eric Christopher authored
llvm-svn: 156416
-
Daniel Dunbar authored
llvm-svn: 156414
-
Jim Ingham authored
llvm-svn: 156412
-
Sirish Pande authored
llvm-svn: 156411
-
Enrico Granata authored
A simple implementation of a summary and synthetic children providers for LLDB-specific shared pointers - This could be generalized to work with C++11 shared pointers with relative ease llvm-svn: 156410
-
Akira Hatanaka authored
Patch by Jack Carter. llvm-svn: 156409
-
Akira Hatanaka authored
Patch by Reed Kotler. llvm-svn: 156408
-
Eric Christopher authored
Part of rdar://11352000 llvm-svn: 156407
-
Eric Christopher authored
llvm-svn: 156406
-
Eric Christopher authored
Part of rdar://11352000 llvm-svn: 156405
-
Eric Christopher authored
llvm-svn: 156404
-
Enrico Granata authored
llvm-svn: 156398
-
Enrico Granata authored
llvm-svn: 156397
-
Douglas Gregor authored
llvm-svn: 156396
-
Daniel Dunbar authored
patch wasn't ready yet. llvm-svn: 156395
-
Daniel Dunbar authored
llvm-svn: 156393
-
Rafael Espindola authored
output. Peter Collingbourne also reports that it is showing up in $(llvm-config --cflags). Revert this for now since I don't know enough cmake to fix it properly. This reverts commit 18efed7adc79c1970f307bb5b015d199012ba872. llvm-svn: 156392
-
Fariborz Jahanian authored
llvm-svn: 156391
-
Daniel Dunbar authored
llvm-svn: 156390
-
Daniel Dunbar authored
- Currently this leaves us with less build system support (e.g., installing man pages) for the docs than is desired. I'm working on fixing this, but it may take a while. If someone finds this particularly egregious let me know and I will prioritize it. llvm-svn: 156389
-
Hans Wennborg authored
For "%hhx", printf expects an unsigned char. This makes Clang accept a 'char' argument for that also when using -funsigned-char. This fixes PR12761. llvm-svn: 156388
-
Nuno Lopes authored
I still left another fixme regarding alignment, because I'm unsure how to remove that code without breaking things llvm-svn: 156387
-
Daniel Dunbar authored
llvm-svn: 156386
-
Daniel Dunbar authored
llvm-svn: 156385
-
Daniel Dunbar authored
- The POD versions are slated for execution, but are still around until llvm.org machinery is in place. llvm-svn: 156384
-
Nuno Lopes authored
remove TYPE_CODE_FUNCTION_OLD type code. it is no longer in use and it was marked for removal in 3.0 llvm-svn: 156383
-
Jakob Stoklund Olesen authored
Share the CalleeSavedRegs defs between all calling conventions having no callee-saved registers. Patch by Yiannis Tsiouris! llvm-svn: 156382
-
NAKAMURA Takumi authored
r145222 "lit/TestRunner.py: [Win32] Introduce WinWaitReleased(f), to wait for file handles to be released by children." r145223 "lit/TestRunner.py: Use RemoveForce()." r145381 "lit/TestRunner.py: Try to catch ERROR_FILE_NOT_FOUND, too." r152916 "lit/TestRunner.py: [Win32] Check all opened_files[] released, rather than (obsoleted) written_files[]." r153172 "lit/TestRunner.py: [Win32] Rework WinWaitReleased() again! "win32file" from Python Win32 Extensions." llvm-svn: 156381
-
NAKAMURA Takumi authored
Files might be opend by system scanners (eg. file indexer, virus scanner, &c). llvm-svn: 156380
-
Duncan Sands authored
replace the operands of expressions with only one use with undef and generate a new expression for the original without using RAUW to update the original. Thus any copies of the original expression held in a vector may end up referring to some bogus value - and using a ValueHandle won't help since there is no RAUW. There is already a mechanism for getting the effect of recursion non-recursively: adding the value to be recursed on to RedoInsts. But it wasn't being used systematically. Have various places where recursion had snuck in at some point use the RedoInsts mechanism instead. Fixes PR12169. llvm-svn: 156379
-
Stepan Dyatkovskiy authored
llvm-svn: 156377
-
Craig Topper authored
llvm-svn: 156375
-
Stepan Dyatkovskiy authored
Added new case-ranges orientated methods for adding/removing cases in SwitchInst. After this patch cases will internally representated as ConstantArray-s instead of ConstantInt, externally cases wrapped within the ConstantRangesSet object. Old methods of SwitchInst are also works well, but marked as deprecated. So on this stage we have no side effects except that I added support for case ranges in BitcodeReader/Writer, of course test for Bitcode is also added. Old "switch" format is also supported. llvm-svn: 156374
-
Gregory Szorc authored
llvm-svn: 156373
-
Gregory Szorc authored
* TranslationUnit reading and parsing now implemented as TranslationUnit.from_ast() and TranslationUnit.from_source(). * Index.parse() and Index.read() implemented through above. * Index.parse() and Index.read() now raise a TanslationUnitLoadException instead of returning None if a TranslationUnit could not be instantiated. This is backwards incompatible. * Ability to save TranslationUnits via TranslationUnit.save(). * TranslationUnit now holds onto Index instance that created. This means the Index can't be GC'd until the TranslationUnit is itself GC'd, making memory management thoughtless. * Don't use [] as a default argument value, as the initial value used is reused for the duration of the program. llvm-svn: 156372
-
Ted Kremenek authored
llvm-svn: 156369
-