| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Now that GCC will have #pragma push/pop (in GCC 4.6), allow the | Douglas Gregor | 2010-08-30 | 4 | -41/+19 |
| | | | | | | | | #pragma without requiring it to be in the "clang" namespace, from Louis Gerbarg! llvm-svn: 112484 | ||||
| * | Emulate (some of) Microsoft's looser semantic checking of exception | Douglas Gregor | 2010-08-30 | 3 | -12/+34 |
| | | | | | | | specifications, from Martin Vejnar! llvm-svn: 112482 | ||||
| * | In Microsoft compatibility mode, don't parse the exponent as part of | Douglas Gregor | 2010-08-30 | 2 | -1/+18 |
| | | | | | | | | the pp-number in a hexadecimal floating point literal, from Francois Pichet! Fixes PR7968. llvm-svn: 112481 | ||||
| * | Predeclare class type_info in Microsoft mode, from Francois Pichet! | Douglas Gregor | 2010-08-30 | 2 | -0/+8 |
| | | | | | llvm-svn: 112478 | ||||
| * | Add test case from PR6952, which now works (thanks to Gabor). | Douglas Gregor | 2010-08-30 | 1 | -0/+18 |
| | | | | | llvm-svn: 112477 | ||||
| * | Add redeclaration checking for static data members and fix a corner | Douglas Gregor | 2010-08-30 | 2 | -3/+86 |
| | | | | | | | | case with redeclaration checking for fields, from Faisal Vali! Fixes PR7970. llvm-svn: 112476 | ||||
| * | Fix CMake dependencies | Douglas Gregor | 2010-08-30 | 1 | -0/+6 |
| | | | | | llvm-svn: 112475 | ||||
| * | Straighten out target triples provided on the command line | Duncan Sands | 2010-08-30 | 2 | -2/+4 |
| | | | | | | | before using them. llvm-svn: 112468 | ||||
| * | Two minor fixes to user-defined literals: | Alexis Hunt | 2010-08-30 | 2 | -1/+4 |
| | | | | | | | | - Zero-initialize UDLData so that crashes stop - Stop complaining that we can't emit them (we most certainly can) llvm-svn: 112467 | ||||
| * | Add some braces for sanity and GCC silence. These became unbalanced in r112122, | Chandler Carruth | 2010-08-30 | 1 | -1/+2 |
| | | | | | | | so please review echristo and let me know if the logic is wrong now. llvm-svn: 112466 | ||||
| * | Fix some test-breaking that snuck into my previous commit | Alexis Hunt | 2010-08-29 | 2 | -3/+3 |
| | | | | | llvm-svn: 112460 | ||||
| * | Implement C++0x user-defined string literals. | Alexis Hunt | 2010-08-29 | 28 | -83/+375 |
| | | | | | | | | | | | The extra data stored on user-defined literal Tokens is stored in extra allocated memory, which is managed by the PreprocessorLexer because there isn't a better place to put it that makes sure it gets deallocated, but only after it's used up. My testing has shown no significant slowdown as a result, but independent testing would be appreciated. llvm-svn: 112458 | ||||
| * | When providing a code completion for an Objective-C message send, drop | Douglas Gregor | 2010-08-29 | 3 | -45/+47 |
| | | | | | | | | | | | | | | | | | the parameter names from the completions, e.g., provide withString:(NSString *) instead of withString:(NSString *)string since the parameter name is, by convention, redundant with the selector piece that precedes it and the completions can get unnecessarily long. llvm-svn: 112456 | ||||
| * | Improve code completion for initializer lists in constructors. Instead | Douglas Gregor | 2010-08-29 | 3 | -19/+55 |
| | | | | | | | | | | | of prioritizing just by initialization order, we bump the priority of just the *next* initializer in the list, and leave everything else at the normal priority. That way, if one intentionally skips the initialization of a base or member (to get default initialization), we'll still get ordered completion for the rest. llvm-svn: 112454 | ||||
| * | Add missing test case for constructor-initializer code completions | Douglas Gregor | 2010-08-29 | 1 | -0/+33 |
| | | | | | llvm-svn: 112453 | ||||
| * | ObjClang++: Allow declaration of block variable in a collection | Fariborz Jahanian | 2010-08-29 | 2 | -1/+21 |
| | | | | | | | statement header (fixes radar 8295106). llvm-svn: 112443 | ||||
| * | Add comments. | Zhongxing Xu | 2010-08-29 | 1 | -0/+7 |
| | | | | | llvm-svn: 112414 | ||||
| * | Translate NEON vaddl, vaddw, vsubl, and vsubw builtins to llvm add/sub | Bob Wilson | 2010-08-29 | 1 | -8/+26 |
| | | | | | | | | | with zext/sext operations, instead of to llvm intrinsics. (We can also get rid of the clang builtins and handle these entirely in the arm_neon.h header if there is a way to express vector sext/zext in C.) llvm-svn: 112413 | ||||
| * | Complain if a __pragma isn't terminated. | John McCall | 2010-08-29 | 2 | -0/+6 |
| | | | | | llvm-svn: 112392 | ||||
| * | Add support for Microsoft's __pragma in the preprocessor. | John McCall | 2010-08-28 | 4 | -6/+90 |
| | | | | | | | Patch by Francois Pichet! llvm-svn: 112391 | ||||
| * | When perform exact-qualifier-match template argument deduction, | John McCall | 2010-08-28 | 2 | -1/+37 |
| | | | | | | | | properly account for the possibility that certain opaque types might be more qualified than they appear. Fixes PR7708. llvm-svn: 112390 | ||||
| * | If filtering a lookup result leaves it ambiguous, keep the ambiguity | John McCall | 2010-08-28 | 3 | -5/+29 |
| | | | | | | | kind. Fixes PR7252. llvm-svn: 112383 | ||||
| * | Delete the relaxedLiveness object in the dtor of AnalysisContext. | Ted Kremenek | 2010-08-28 | 1 | -0/+1 |
| | | | | | llvm-svn: 112380 | ||||
| * | improve comment, patch by Vladimir Kirillov! | Chris Lattner | 2010-08-28 | 1 | -2/+3 |
| | | | | | llvm-svn: 112374 | ||||
| * | simplify by relying on cascading operator-> | Gabor Greif | 2010-08-28 | 1 | -3/+3 |
| | | | | | llvm-svn: 112373 | ||||
| * | simplify | Gabor Greif | 2010-08-28 | 1 | -2/+3 |
| | | | | | llvm-svn: 112372 | ||||
| * | Fix copy+paste error in comment. | Nick Lewycky | 2010-08-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 112370 | ||||
| * | add another test for PR8007 | Gabor Greif | 2010-08-28 | 1 | -0/+58 |
| | | | | | | | | | this is still failing, need to come up with a fix (but we are in good company as the first gcc version pass this test will be v4.6) llvm-svn: 112369 | ||||
| * | the target of the link uses the singular form, so do we too | Gabor Greif | 2010-08-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 112367 | ||||
| * | typo | Gabor Greif | 2010-08-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 112366 | ||||
| * | suppress annoying textual repetition as 'aka' | Gabor Greif | 2010-08-28 | 2 | -5/+8 |
| | | | | | llvm-svn: 112365 | ||||
| * | Fix the memory leak of FloatingLiteral/IntegerLiteral. | Argyrios Kyrtzidis | 2010-08-28 | 12 | -50/+156 |
| | | | | | | | | | | | | For large floats/integers, APFloat/APInt will allocate memory from the heap to represent these numbers. Unfortunately, when we use a BumpPtrAllocator to allocate IntegerLiteral/FloatingLiteral nodes the memory associated with the APFloat/APInt values will never get freed. I introduce the class 'APNumericStorage' which uses ASTContext's allocator for memory allocation and is used internally by FloatingLiteral/IntegerLiteral. Fixes rdar://7637185 llvm-svn: 112361 | ||||
| * | That's not the right direction to compute notional accessibility in at all. | John McCall | 2010-08-28 | 2 | -21/+56 |
| | | | | | llvm-svn: 112360 | ||||
| * | Fix build. Bad me, adding last-minute assertions. | John McCall | 2010-08-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 112359 | ||||
| * | When checking access control for an instance member access on | John McCall | 2010-08-28 | 2 | -14/+153 |
| | | | | | | | | | | an object of type I, if the current access target is protected when named in a class N, consider the friends of the classes P where I <= P <= N and where a notional member of N would be non-forbidden in P. llvm-svn: 112358 | ||||
| * | check whether sema issues a redefinition error | Gabor Greif | 2010-08-28 | 1 | -5/+9 |
| | | | | | llvm-svn: 112347 | ||||
| * | perform cheap test first | Gabor Greif | 2010-08-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 112346 | ||||
| * | Ignore this flag too, Clang doesn't seem to use random numbers internally. | Nick Lewycky | 2010-08-28 | 1 | -0/+1 |
| | | | | | llvm-svn: 112342 | ||||
| * | note to self: save before committing; add PR | Gabor Greif | 2010-08-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 112339 | ||||
| * | fix test by applying it in top namespace: PR8007 only showed up this way | Gabor Greif | 2010-08-28 | 1 | -6/+2 |
| | | | | | llvm-svn: 112338 | ||||
| * | Update test case, with comment to later investigate the correct behavior. ↵ | Ted Kremenek | 2010-08-28 | 1 | -1/+4 |
| | | | | | | | Now the behavior is at least consistent. llvm-svn: 112335 | ||||
| * | Explicitly handle CXXExprWithTemporaries during CFG construction by just ↵ | Ted Kremenek | 2010-08-28 | 2 | -0/+23 |
| | | | | | | | visiting the subexpression. While we don't do anything intelligent right now, this obviates a bogus -Wunreahable-code warning reported in PR 6130. llvm-svn: 112334 | ||||
| * | fix PR8007 | Gabor Greif | 2010-08-28 | 2 | -2/+6 |
| | | | | | | | | reordering and redefinition issues still may linger, I plan to nail them next llvm-svn: 112333 | ||||
| * | Basic code completion support for the base and member initializers in | Douglas Gregor | 2010-08-28 | 3 | -7/+97 |
| | | | | | | | a constructor. llvm-svn: 112330 | ||||
| * | reproduction recipe for PR8007, expected to fail for now, review welcome | Gabor Greif | 2010-08-27 | 1 | -0/+49 |
| | | | | | llvm-svn: 112326 | ||||
| * | Parser support for inline namespaces | Sebastian Redl | 2010-08-27 | 8 | -23/+59 |
| | | | | | llvm-svn: 112320 | ||||
| * | Comment and move another ASTReader member. | Sebastian Redl | 2010-08-27 | 1 | -3/+11 |
| | | | | | llvm-svn: 112319 | ||||
| * | Update comment after Chandler's change. | Sebastian Redl | 2010-08-27 | 1 | -1/+1 |
| | | | | | llvm-svn: 112318 | ||||
| * | Miscellaneous found by inspection with John and Sebastian | Douglas Gregor | 2010-08-27 | 2 | -25/+22 |
| | | | | | llvm-svn: 112315 | ||||
| * | Added checking of (x == x) and (x != x) to IdempotentOperationChecker and ↵ | Tom Care | 2010-08-27 | 3 | -3/+5 |
| | | | | | | | updated test cases flagged by it. llvm-svn: 112313 | ||||

