summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix PR3335 by not turning a store to one address space into a store to another.Chris Lattner2009-01-162-1/+16
| | | | llvm-svn: 62351
* reduce indentation by using early exits, no functionality change.Chris Lattner2009-01-161-44/+47
| | | | llvm-svn: 62350
* Don't ICE on user redeclaration of objc's built-in types.Fariborz Jahanian2009-01-163-8/+27
| | | | | | Issue diagnostics instead if types do not match. llvm-svn: 62349
* As a performance optimization, don't bother calling MacroInfo::isIdenticalTo Chris Lattner2009-01-161-9/+16
| | | | | | | | if warnings in system headers are disabled. isIdenticalTo can end up calling the expensive getSpelling method, and other bad stuff and is completely unneeded if the warning will be discarded anyway. rdar://6502956 llvm-svn: 62347
* silence release-assert warning.Chris Lattner2009-01-161-4/+4
| | | | llvm-svn: 62346
* Fix <rdar://problem/6502934>. We were creating an ImplicitCastExprDouglas Gregor2009-01-164-6/+20
| | | | | | with reference type (it should be an lvalue with non-reference type). llvm-svn: 62345
* Random note so I remember how to do this :)Chris Lattner2009-01-161-0/+7
| | | | llvm-svn: 62344
* Use lightweight DebugInfo objects directly.Devang Patel2009-01-161-51/+50
| | | | llvm-svn: 62341
* StringRegion::print: Remove copy/paste code and just call ↵Ted Kremenek2009-01-161-17/+1
| | | | | | Stmt::printPretty() for the StringLiteral. llvm-svn: 62340
* Make -E mode propagate #pragma comment's into the output.Chris Lattner2009-01-162-3/+34
| | | | llvm-svn: 62339
* Add support for non-zero __builtin_return_address values on X86.Bill Wendling2009-01-162-8/+39
| | | | llvm-svn: 62338
* make ast-print handle random non-printable characters correctly with octal ↵Chris Lattner2009-01-161-3/+13
| | | | | | escapes. llvm-svn: 62337
* Change isGVCompilationDisabled() semantics again. It should abort on any GV ↵Evan Cheng2009-01-161-1/+4
| | | | | | that's not constant whether it's "internal" or not. In a server / client environment, GV is returned in the same block of memory as code. However, the memory might not be writable. llvm-svn: 62336
* Changed the API yet again.Fariborz Jahanian2009-01-161-5/+3
| | | | llvm-svn: 62335
* only notify callbacks if they exist.Chris Lattner2009-01-161-1/+2
| | | | llvm-svn: 62334
* Improve #pragma comment support by building the string argument andChris Lattner2009-01-162-11/+44
| | | | | | notifying PPCallbacks about it. llvm-svn: 62333
* minor cleanups to StringLiteralParser: no need to pass target infoChris Lattner2009-01-163-13/+14
| | | | | | | into its ctor. Also, make it handle validity checking of pascal strings instead of making clients do it. llvm-svn: 62332
* Fix PR 3337 [retain/release checker]: Handle FunctionDecl's declared using ↵Ted Kremenek2009-01-162-1/+10
| | | | | | typedefs. llvm-svn: 62331
* use specialized accessor instead of plain getOperand(0)Gabor Greif2009-01-161-4/+5
| | | | llvm-svn: 62330
* Part one of handling C++ functional casts. This handles semanticDouglas Gregor2009-01-167-19/+196
| | | | | | | | analysis and AST-building for the cases where we have N != 1 arguments. For N == 1 arguments, we need to finish the C++ implementation of explicit type casts (C++ [expr.cast]). llvm-svn: 62329
* Align source code.Devang Patel2009-01-161-4/+4
| | | | llvm-svn: 62328
* Fix a "comparison between signed and unsigned integer expressions"Dan Gohman2009-01-161-1/+1
| | | | | | warning. llvm-svn: 62327
* Used a more suitable api to get to the type of a recordFariborz Jahanian2009-01-161-1/+1
| | | | | | in code gen. llvm-svn: 62326
* Reinstate r60509 from Dale:Nick Lewycky2009-01-161-0/+1
| | | | | | Make the debugging dump be a full line. llvm-svn: 62325
* Add test case for member name lookupDouglas Gregor2009-01-161-0/+132
| | | | llvm-svn: 62324
* Use a single function for doing vararg argument promotion. Also, make sure ↵Anders Carlsson2009-01-166-28/+46
| | | | | | to do the promotion before checking the type - fixes PR3340. llvm-svn: 62323
* Get this building with gcc-4.4.Duncan Sands2009-01-161-0/+1
| | | | llvm-svn: 62322
* Grammar fix.Duncan Sands2009-01-161-1/+1
| | | | llvm-svn: 62319
* Implement basic support for parsing #pragma comment, a microsoft extensionChris Lattner2009-01-164-0/+103
| | | | | | | | | | documented here: http://msdn.microsoft.com/en-us/library/7f0aews7(VS.80).aspx This is according to my understanding reading the docs, I don't know if it really agrees fully with what VC++ allows. llvm-svn: 62317
* more SourceLocation lexicon change: instead of referring to theChris Lattner2009-01-1623-140/+134
| | | | | | "logical" location, refer to the "instantiation" location. llvm-svn: 62316
* rename "virtual location" of a macro to "instantiation location".Chris Lattner2009-01-164-8/+9
| | | | llvm-svn: 62315
* rename PP::getPhysicalCharacterAt -> PP::getSpelledCharacterAt.Chris Lattner2009-01-162-12/+12
| | | | | | | Slightly speed up sema of numbers like '1' by going directly to TargetInfo instead of through ASTContext. llvm-svn: 62314
* remove obsolete comment which happened to go over 80 cols.Chris Lattner2009-01-161-8/+1
| | | | llvm-svn: 62313
* Registry.h should not depend on CommandLine.h.Mikhail Glushenkov2009-01-169-32/+66
| | | | | | | Split Support/Registry.h into two files so that we have less to recompile every time CommandLine.h is changed. llvm-svn: 62312
* remove an unneeded const_cast.Chris Lattner2009-01-161-7/+5
| | | | llvm-svn: 62311
* update for terminology change.Chris Lattner2009-01-161-2/+2
| | | | llvm-svn: 62310
* Change some terminology in SourceLocation: instead of referring to Chris Lattner2009-01-1614-120/+123
| | | | | | | the "physical" location of tokens, refer to the "spelling" location. This is more concrete and useful, tokens aren't really physical objects! llvm-svn: 62309
* This is now passing.Evan Cheng2009-01-161-1/+0
| | | | llvm-svn: 62308
* Delete trailing whitespace.Mikhail Glushenkov2009-01-168-420/+420
| | | | llvm-svn: 62307
* Don't advance the statement iterator after we've deallocated the statementDouglas Gregor2009-01-161-2/+3
| | | | llvm-svn: 62306
* Reverting back 62301.Sanjiv Gupta2009-01-161-1/+1
| | | | llvm-svn: 62304
* Extract code dealing with typedef declarators into a separate function.Zhongxing Xu2009-01-162-37/+49
| | | | | | No functionality change. llvm-svn: 62303
* Add test for contextual conversion to bool, and enable some FIXME'd testsDouglas Gregor2009-01-162-2/+69
| | | | llvm-svn: 62302
* Few targets do not have a single directive to emit global constants.Sanjiv Gupta2009-01-161-1/+1
| | | | | | For example, PIC16 needs to break a long or int constant into mulitple parts and emit multiple directives. So Allow targets to overried EmitConstantValueOnly(). llvm-svn: 62301
* Extract code dealing with variable declarator into a separate function.Zhongxing Xu2009-01-162-100/+113
| | | | | | No functionality change. llvm-svn: 62300
* ARMCompilationCallback should not save / restore vfp registers if vfp is not ↵Evan Cheng2009-01-161-2/+2
| | | | | | available. llvm-svn: 62299
* Validate debug info values only if DwarfDebug is initialized.Devang Patel2009-01-161-1/+1
| | | | llvm-svn: 62298
* Clean up previous cast optimization a bit. Also make zext elimination a bit ↵Evan Cheng2009-01-162-30/+62
| | | | | | more aggressive: if it's not necessary to emit an AND (i.e. high bits are already zero), it's profitable to evaluate the operand at a different type. llvm-svn: 62297
* Add support for instructions with multiple ComplexPatterns, byDan Gohman2009-01-161-7/+7
| | | | | | | adding more information to the temporary variables names so that they don't conflict. llvm-svn: 62296
* Attempt to unbreak Windows build.Daniel Dunbar2009-01-161-3/+3
| | | | llvm-svn: 62295
OpenPOWER on IntegriCloud