| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Switch the ObjC*Decl raw_stream overloads to take a reference, for ↵ | Benjamin Kramer | 2012-02-07 | 6 | -13/+11 |
| | | | | | | | consistency with NamedDecls. llvm-svn: 149981 | ||||
| * | Bitcode/BitstreamReader.h: Tweak for big endian hosts. | NAKAMURA Takumi | 2012-02-07 | 1 | -4/+6 |
| | | | | | llvm-svn: 149980 | ||||
| * | Introduce basic ASTs for lambda expressions. This covers: | Douglas Gregor | 2012-02-07 | 24 | -59/+780 |
| | | | | | | | | | | | | | | | | | | | | | | | | | - Capturing variables by-reference and by-copy within a lambda - The representation of lambda captures - The creation of the non-static data members in the lambda class that store the captured variables - The initialization of the non-static data members from the captured variables - Pretty-printing lambda expressions There are a number of FIXMEs, both explicit and implied, including: - Creating a field for a capture of 'this' - Improved diagnostics for initialization failures when capturing variables by copy - Dealing with temporaries created during said initialization - Template instantiation - AST (de-)serialization - Binding and returning the lambda expression; turning it into a proper temporary - Lots and lots of semantic constraints - Parameter pack captures llvm-svn: 149977 | ||||
| * | Use SmallVector instead of std::vector. | Bill Wendling | 2012-02-07 | 1 | -4/+4 |
| | | | | | llvm-svn: 149976 | ||||
| * | Use 'ArrayRef<>' instead of 'std::vector<>&' for passed-in arguments. | Bill Wendling | 2012-02-07 | 1 | -39/+38 |
| | | | | | llvm-svn: 149975 | ||||
| * | Calculate the .size() of the vector once. | Bill Wendling | 2012-02-07 | 1 | -5/+5 |
| | | | | | llvm-svn: 149974 | ||||
| * | Reserve a moderate amount of space for the back-end arguments. | Bill Wendling | 2012-02-07 | 1 | -0/+1 |
| | | | | | llvm-svn: 149973 | ||||
| * | Rephrase to add clarity. | Bill Wendling | 2012-02-07 | 1 | -3/+3 |
| | | | | | llvm-svn: 149972 | ||||
| * | test commit | Anat Shemer | 2012-02-07 | 1 | -0/+1 |
| | | | | | llvm-svn: 149971 | ||||
| * | Do not fold ADD / SUB into load / store (to form pre-indexed, post-indexed | Evan Cheng | 2012-02-07 | 1 | -24/+58 |
| | | | | | | | | | load / store) if the ADD / SUB has a live definition of CPSR. Bug reported by David Meyer. Alas, no test case. llvm-svn: 149970 | ||||
| * | Add instruction selection for 256-bit VPSHUFD and 128-bit VPERMILPS/VPERMILPD. | Craig Topper | 2012-02-07 | 5 | -31/+59 |
| | | | | | llvm-svn: 149968 | ||||
| * | Convert assert(0) to llvm_unreachable | Craig Topper | 2012-02-07 | 30 | -89/+66 |
| | | | | | llvm-svn: 149967 | ||||
| * | Fix a bug in semantic analysis involving anonymous structs and flexible arrays. | Eli Friedman | 2012-02-07 | 2 | -2/+20 |
| | | | | | llvm-svn: 149966 | ||||
| * | Fix a couple of nasty bugs involving negative enum constants. ↵ | Eli Friedman | 2012-02-07 | 4 | -26/+30 |
| | | | | | | | <rdar://problem/10760113>. llvm-svn: 149965 | ||||
| * | Update test case. | Ted Kremenek | 2012-02-07 | 1 | -3/+16 |
| | | | | | llvm-svn: 149964 | ||||
| * | Make FunctionDecl::doesDeclarationForceExternallyVisibleDefinition use the ↵ | Eli Friedman | 2012-02-07 | 2 | -29/+96 |
| | | | | | | | same logic as FunctionDecl::isInlineDefinitionExternallyVisible to figure out whether to emit a definition. Based on work by Anton Yartsev. llvm-svn: 149963 | ||||
| * | Add support for UndefinedAtom in yaml and native format. Add test cases ↵ | Nick Kledzik | 2012-02-07 | 13 | -179/+443 |
| | | | | | | | with undefined atoms llvm-svn: 149962 | ||||
| * | Convert assert(0) to llvm_unreachable | Craig Topper | 2012-02-07 | 42 | -151/+106 |
| | | | | | llvm-svn: 149961 | ||||
| * | Create PathDiagnosticCallEnter and PathDiagnosticCallExit, to remark calls ↵ | Ted Kremenek | 2012-02-07 | 5 | -11/+41 |
| | | | | | | | | | in PathDiagnostics from other events. This will have potential uses later. llvm-svn: 149960 | ||||
| * | Tweak BugReporter extensive diagnostics to not add edges between function calls. | Ted Kremenek | 2012-02-07 | 1 | -1/+28 |
| | | | | | llvm-svn: 149959 | ||||
| * | Quote name of function in path diagnostics. | Ted Kremenek | 2012-02-07 | 1 | -1/+1 |
| | | | | | llvm-svn: 149958 | ||||
| * | Cache the sizes of vectors instead of calculating them all over the place. | Bill Wendling | 2012-02-07 | 1 | -9/+11 |
| | | | | | llvm-svn: 149954 | ||||
| * | Remove the unused TypoCorrectionConsumer::MaxEditDistance. | Kaelyn Uhrain | 2012-02-07 | 1 | -37/+13 |
| | | | | | | | | | | | | | MaxEditDistance was effectively unused as it being initialized to the max unsigned valued but never updated. Removing it avoids conversion headaches once the "edit distance" of a typo correction is a weighted composite of several values instead of roughly the number of characters changed; comparing the weighted composite value to the number of characters in a typo would require some form of normalization to make it comparable to the old, character-based notion of edit distance. llvm-svn: 149953 | ||||
| * | Reserve space in these vectors to prevent having to grow the array too | Bill Wendling | 2012-02-07 | 2 | -6/+8 |
| | | | | | | | much. This gets us an addition 0.9% on 445.gobmk. llvm-svn: 149952 | ||||
| * | Filter a few more options not recognized by gcc. <rdar://problem/10814020> | Bob Wilson | 2012-02-07 | 1 | -3/+17 |
| | | | | | | | | These are new options that gcc doesn't recognize so the clang driver needs to remove them when it falls back to invoking gcc. llvm-svn: 149951 | ||||
| * | Add C11 FLT_TRUE_MIN and friends. <rdar://problem/10812837>. | Eli Friedman | 2012-02-07 | 1 | -0/+11 |
| | | | | | llvm-svn: 149949 | ||||
| * | [analyzer] Allow each CString check to be enabled/disabled | Anna Zaks | 2012-02-07 | 5 | -20/+106 |
| | | | | | | | separately. llvm-svn: 149947 | ||||
| * | Bump up the initial vector size to avoid having to grow the vector more often. | Bill Wendling | 2012-02-07 | 1 | -1/+1 |
| | | | | | llvm-svn: 149945 | ||||
| * | [asan] don't crash if /proc/self/maps has enormous size (linux) | Kostya Serebryany | 2012-02-07 | 1 | -2/+2 |
| | | | | | llvm-svn: 149944 | ||||
| * | simplify a bunch of code to use the well-known LLVM IR types computed by ↵ | Chris Lattner | 2012-02-07 | 23 | -217/+133 |
| | | | | | | | CodeGenModule. llvm-svn: 149943 | ||||
| * | tidy up code, make the common case (1-byte strings) come first | Chris Lattner | 2012-02-07 | 1 | -19/+13 |
| | | | | | llvm-svn: 149942 | ||||
| * | Fix win32 build breakage from bitcode streaming patch | Derek Schuff | 2012-02-07 | 1 | -1/+4 |
| | | | | | llvm-svn: 149941 | ||||
| * | [asan] make sure the AsanThread object is destroyed if pthread_exit is called | Kostya Serebryany | 2012-02-07 | 6 | -9/+34 |
| | | | | | llvm-svn: 149940 | ||||
| * | Add basic BugReporter support for CallEnter/CallExit. WIP. | Ted Kremenek | 2012-02-07 | 5 | -0/+363 |
| | | | | | llvm-svn: 149939 | ||||
| * | Misc improvements to the diagnostic when a variable is odr-used in a context ↵ | Eli Friedman | 2012-02-07 | 6 | -16/+60 |
| | | | | | | | | | that is not allowed to capture variables. Fixes PR11883. llvm-svn: 149937 | ||||
| * | Use a more efficient container for these values. Also reserve space when using a | Bill Wendling | 2012-02-07 | 1 | -3/+6 |
| | | | | | | | std::vector. llvm-svn: 149936 | ||||
| * | Use a SmallVector instead of std::vector. This improves compilation time in | Bill Wendling | 2012-02-07 | 1 | -5/+5 |
| | | | | | | | 445.gobmk by ~1.7%. llvm-svn: 149935 | ||||
| * | [fast-isel] Add support for ADDs with non-legal types. | Chad Rosier | 2012-02-06 | 2 | -5/+74 |
| | | | | | llvm-svn: 149934 | ||||
| * | Don't recalculate the size of the array each time through the for-loop. | Bill Wendling | 2012-02-06 | 1 | -2/+2 |
| | | | | | llvm-svn: 149933 | ||||
| * | This is a small patch with a couple of improvements for running lit with ↵ | Andrew Trick | 2012-02-06 | 2 | -2/+9 |
| | | | | | | | | | | | | | | --debug: 1. Added a status note when a config file is loaded directly with load_config. This helps notice loads of lit.cfg from lit.site.cfg 2. Added a status note on the result of a config load. Previously, it was just notifying that it tries to load a config file. Now it will also say whether the load succeeded or the file wasn't found The two changes give better visibility into which config files were actually loaded by lit. The effect is only on --debug runs. Patch by Eli Bendersky! llvm-svn: 149932 | ||||
| * | Minor comment clarification. | Eli Friedman | 2012-02-06 | 1 | -1/+1 |
| | | | | | llvm-svn: 149931 | ||||
| * | Fix a minor regression from my potentially-evaluated expression changes. | Eli Friedman | 2012-02-06 | 2 | -0/+13 |
| | | | | | llvm-svn: 149930 | ||||
| * | Relax valid location check. This fixes a clang crash while emitting debug ↵ | Devang Patel | 2012-02-06 | 2 | -2/+21 |
| | | | | | | | info for properties that are synthesized by the compiler by default. llvm-svn: 149929 | ||||
| * | build wide strings with ConstantDataArray, just because we can. | Chris Lattner | 2012-02-06 | 1 | -12/+18 |
| | | | | | llvm-svn: 149928 | ||||
| * | Expose TargetPassConfig to PEI Pass | Andrew Trick | 2012-02-06 | 2 | -0/+2 |
| | | | | | llvm-svn: 149927 | ||||
| * | Add TargetPassConfig to the PassManager for use inside passes | Andrew Trick | 2012-02-06 | 2 | -5/+7 |
| | | | | | llvm-svn: 149926 | ||||
| * | The patch resolves the conflict between AddressSanitizer and load widening ↵ | Kostya Serebryany | 2012-02-06 | 2 | -0/+51 |
| | | | | | | | | | | (GVN). The problem initially reported by Mozilla folks (http://code.google.com/p/address-sanitizer/issues/detail?id=20), but it also prevents us from enabling LLVM bootstrap with AddressSanitizer. llvm-svn: 149925 | ||||
| * | improve the code that handles IR generation of byte-sized string literals to ↵ | Chris Lattner | 2012-02-06 | 1 | -35/+19 |
| | | | | | | | | | avoid allocating an std::string. llvm-svn: 149924 | ||||
| * | Added source location for the template keyword in ↵ | Abramo Bagnara | 2012-02-06 | 9 | -43/+39 |
| | | | | | | | | | | | DependentTemplateSpecializationTypeLoc nodes (DTSTLoc). The new info is propagated to TSTLoc on template instantiation, getting rid of 3 FIXMEs in TreeTransform.h and another one Parser.cpp. Simplified code in TypeSpecLocFiller visitor methods for DTSTLoc and DependentNameTypeLoc by removing what now seems to be dead code (adding corresponding assertions). llvm-svn: 149923 | ||||
| * | Fix comment-rulers. | Nick Lewycky | 2012-02-06 | 4 | -4/+4 |
| | | | | | llvm-svn: 149922 | ||||

