Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Implement code generation of ChooseExpr for aggregate types. | Anders Carlsson | 2009-07-08 | 1 | -0/+5 | |
| | | | | llvm-svn: 75021 | |||||
* | Patch adds test to my previous patch for assigning to | Fariborz Jahanian | 2009-07-08 | 3 | -0/+44 | |
| | | | | | | | gc'able structs in the Next runtime and adds missing PCH info. llvm-svn: 75014 | |||||
* | fix PR4513, a build problem with VC++, patch by James Abbatiello! | Chris Lattner | 2009-07-08 | 1 | -0/+4 | |
| | | | | llvm-svn: 75013 | |||||
* | Correct FreeBSD target info, fixing PR4514. | Duncan Sands | 2009-07-08 | 1 | -1/+3 | |
| | | | | | | Patch by Roman Divacky. llvm-svn: 75003 | |||||
* | Fix a corner case with argument-dependent lookup and overloaded function sets. | Douglas Gregor | 2009-07-08 | 4 | -9/+110 | |
| | | | | llvm-svn: 74999 | |||||
* | Update the C++ status table to better reflect our support for function ↵ | Douglas Gregor | 2009-07-08 | 1 | -79/+79 | |
| | | | | | | overloading llvm-svn: 74997 | |||||
* | Improve argument-dependent lookup to find associated classes and | Douglas Gregor | 2009-07-08 | 4 | -4/+119 | |
| | | | | | | | namespaces based on the template arguments of a class template specialization type. llvm-svn: 74993 | |||||
* | Initialize the ConstantArraySizeAsWritten field of PrintingPolicy class. | Argyrios Kyrtzidis | 2009-07-08 | 1 | -1/+2 | |
| | | | | | | It contained garbage since the constructor didn't initialize it and caused test/Sema/array-constraint.c to randomly fail. llvm-svn: 74989 | |||||
* | Update for LLVM API change. | Owen Anderson | 2009-07-08 | 7 | -56/+94 | |
| | | | | llvm-svn: 74986 | |||||
* | Implemented memmove_collectable API for Next runtime | Fariborz Jahanian | 2009-07-08 | 8 | -0/+89 | |
| | | | | | | | when struct variables with GC'able members are copied into. Will provide a test case later. llvm-svn: 74984 | |||||
* | reimplement vector comparisons as [fi]cmp+sext instead of using v[if]cmp. | Chris Lattner | 2009-07-08 | 4 | -36/+13 | |
| | | | | | | | Also, enable them in sema so that they are tested, and now that the x86 backend has stablized. llvm-svn: 74983 | |||||
* | The canonical type of typeof or decltype with a dependent type is itself, | Douglas Gregor | 2009-07-08 | 3 | -10/+16 | |
| | | | | | | not Context.DependentTy. I'll let Anders check in the test case for this one... llvm-svn: 74975 | |||||
* | Overload resolution prefers non-templates to templates | Douglas Gregor | 2009-07-07 | 2 | -8/+34 | |
| | | | | llvm-svn: 74971 | |||||
* | Template argument deduction from a call has improved a bit | Douglas Gregor | 2009-07-07 | 2 | -2/+2 | |
| | | | | llvm-svn: 74966 | |||||
* | Improve template argument deduction from a call. In particular, | Douglas Gregor | 2009-07-07 | 3 | -79/+200 | |
| | | | | | | | | implement C++ [temp.deduct.call]p3b3, which allows a template-id parameter to match a derived class of the argument, while deducing template arguments. llvm-svn: 74965 | |||||
* | Extra vector element initializers in OpenCL is an error, not a warning. | Nate Begeman | 2009-07-07 | 1 | -0/+4 | |
| | | | | llvm-svn: 74951 | |||||
* | Implement checking of exception spec compatibility for overriding virtual ↵ | Sebastian Redl | 2009-07-07 | 6 | -6/+169 | |
| | | | | | | functions. llvm-svn: 74943 | |||||
* | Some (most) type trait expressions require that the argument passed in is a ↵ | Anders Carlsson | 2009-07-07 | 3 | -7/+23 | |
| | | | | | | complete type. llvm-svn: 74937 | |||||
* | Diagnose, and not crash, when taking address of property expression. | Fariborz Jahanian | 2009-07-07 | 2 | -0/+23 | |
| | | | | llvm-svn: 74935 | |||||
* | Convert the CharInfo table to be statically initialized, instead of ↵ | Chris Lattner | 2009-07-07 | 1 | -15/+86 | |
| | | | | | | dynamically initialized. Patch by Ryan Flynn! llvm-svn: 74919 | |||||
* | Tighten up the conditions under which we build an implicit function | Douglas Gregor | 2009-07-07 | 2 | -3/+18 | |
| | | | | | | declaration for a builtin. llvm-svn: 74917 | |||||
* | Make ASTContext explicitly keep track of the declaration for the C | Douglas Gregor | 2009-07-07 | 7 | -11/+62 | |
| | | | | | | | | | | | | | | | | | FILE type, rather than using name lookup to find FILE within the translation unit. Within precompiled headers, FILE is treated as yet another "special type" (like __builtin_va_list). This change should provide a performance improvement (not verified), since the lookup into the translation unit declaration forces the (otherwise unneeded) construction of a large hash table. More importantly, with precompiled headers, the construction of that table requires deserializing most of the top-level declarations from the precompiled header, which are then unused. Fixes PR 4509. llvm-svn: 74911 | |||||
* | A few change per Doug's feedback. | Fariborz Jahanian | 2009-07-07 | 2 | -9/+8 | |
| | | | | | | - Fariborz llvm-svn: 74909 | |||||
* | Fix comment. | Zhongxing Xu | 2009-07-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 74896 | |||||
* | fix an out-of-date comment. | Chris Lattner | 2009-07-07 | 1 | -5/+3 | |
| | | | | llvm-svn: 74894 | |||||
* | pic16 preproc defs. | Sanjiv Gupta | 2009-07-07 | 1 | -0/+5 | |
| | | | | llvm-svn: 74893 | |||||
* | fix comment. | Zhongxing Xu | 2009-07-07 | 1 | -2/+2 | |
| | | | | llvm-svn: 74890 | |||||
* | Refactor DeclLocResolver/StmtLocResolver into a more functional style by ↵ | Argyrios Kyrtzidis | 2009-07-07 | 1 | -187/+117 | |
| | | | | | | | | removing the search state and by having their Visit* methods return the ASTLocation directly. llvm-svn: 74887 | |||||
* | Introduce the notion of "Relocatable" precompiled headers, which are built | Douglas Gregor | 2009-07-07 | 14 | -64/+325 | |
| | | | | | | | | | | | | with a particular system root directory and can be used with a different system root directory when the headers it depends on have been installed. Relocatable precompiled headers rewrite the file names of the headers used when generating the PCH file into the corresponding file names of the headers available when using the PCH file. Addresses <rdar://problem/7001604>. llvm-svn: 74885 | |||||
* | NewCastRegion: Handle casts *from* pointers to incomplete structs to other ↵ | Ted Kremenek | 2009-07-06 | 2 | -9/+25 | |
| | | | | | | types. llvm-svn: 74884 | |||||
* | Fix 80 col violation. | Ted Kremenek | 2009-07-06 | 1 | -4/+4 | |
| | | | | llvm-svn: 74877 | |||||
* | Restructure NewCastRegion to use a switch statement that dispatches off the | Ted Kremenek | 2009-07-06 | 1 | -51/+62 | |
| | | | | | | | region type. This better shows the logic of the method and allows the compiler to check if we didn't handle a specific region kind. llvm-svn: 74876 | |||||
* | Fix 80 col violation. | Ted Kremenek | 2009-07-06 | 1 | -2/+2 | |
| | | | | llvm-svn: 74875 | |||||
* | NewCastRegion: Handle casts to any Objective-C pointer, not just qualified ids. | Ted Kremenek | 2009-07-06 | 1 | -2/+2 | |
| | | | | llvm-svn: 74874 | |||||
* | Implement FIXME. | Ted Kremenek | 2009-07-06 | 1 | -1/+1 | |
| | | | | llvm-svn: 74872 | |||||
* | Unbreak build by including header. | Ted Kremenek | 2009-07-06 | 1 | -7/+11 | |
| | | | | llvm-svn: 74870 | |||||
* | StoreManager::NewCastRegion: | Ted Kremenek | 2009-07-06 | 2 | -10/+31 | |
| | | | | | | | | - Refactor logic that creates ElementRegions into a help method 'MakeElementRegion'. - Fix crash due to not handling StringRegions. Casts of StringRegions now result in a new ElementRegion layered on the original StringRegion. llvm-svn: 74867 | |||||
* | Make 'BasicStoreManager' + 'NewCastRegion' testable from the command line ↵ | Ted Kremenek | 2009-07-06 | 55 | -20/+100 | |
| | | | | | | using '-analyzer-store=basic-new-cast'. llvm-svn: 74865 | |||||
* | Update CMake files. | Argyrios Kyrtzidis | 2009-07-06 | 3 | -3/+3 | |
| | | | | llvm-svn: 74864 | |||||
* | Use the "ASTLocation nomenclature" (instead of the ASTNode one) in ↵ | Argyrios Kyrtzidis | 2009-07-06 | 1 | -12/+12 | |
| | | | | | | index-test.cpp. llvm-svn: 74863 | |||||
* | Some changes to ASTLocation's methods | Argyrios Kyrtzidis | 2009-07-06 | 3 | -4/+11 | |
| | | | | | | | | -Change hasStmt() to isStmt() -Add isDecl() -Add getSourceRange() llvm-svn: 74862 | |||||
* | Add some comments to the ASTLocation class. | Argyrios Kyrtzidis | 2009-07-06 | 1 | -0/+6 | |
| | | | | llvm-svn: 74861 | |||||
* | Move the 'ResolveLocationInAST' function from the Frontend library to the ↵ | Argyrios Kyrtzidis | 2009-07-06 | 4 | -36/+39 | |
| | | | | | | | | Index library. Also, cut down its comments; more comments will be added to ASTLocation. llvm-svn: 74860 | |||||
* | Move ASTLocation and DeclReferenceMap from the AST library to the Index library. | Argyrios Kyrtzidis | 2009-07-06 | 7 | -14/+28 | |
| | | | | llvm-svn: 74859 | |||||
* | Rename 'ASTNode' -> 'ASTLocation'. | Argyrios Kyrtzidis | 2009-07-06 | 8 | -58/+58 | |
| | | | | | | ASTLocation is a much better name for its intended purpose which to represent a "point" into the AST. llvm-svn: 74858 | |||||
* | NewCastRegion: | Ted Kremenek | 2009-07-06 | 1 | -12/+10 | |
| | | | | | | | - Have test for 'CodeTextRegion' dominate other region tests. - Use 'getAsRecordType' instead of isa<RecordType> llvm-svn: 74853 | |||||
* | Fix loop so that 'continue' statements actually cause the loop to iterate. | Ted Kremenek | 2009-07-06 | 1 | -2/+1 | |
| | | | | llvm-svn: 74852 | |||||
* | Move the new 'CastRegion' implementation from RegionStoreManager to StoreManager | Ted Kremenek | 2009-07-06 | 3 | -86/+101 | |
| | | | | | | | (its superclass). This will allow us to experiment with using the new CastRegion with BasicStoreManager, and gradually phase out the old implementation. llvm-svn: 74851 | |||||
* | Fix a problem with false diagnostics when comparing distinct NULL pointer ↵ | Douglas Gregor | 2009-07-06 | 2 | -7/+20 | |
| | | | | | | types, from David Majnemer llvm-svn: 74850 | |||||
* | Update checker build. | Ted Kremenek | 2009-07-06 | 1 | -1/+1 | |
| | | | | llvm-svn: 74849 |