summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
* Fix another issue with devirtualizing calls to final methods by passing themRafael Espindola2012-06-284-25/+71
| | | | | | | | the correct this pointer. There is some potential for sharing a bit more code with canDevirtualizeMemberFunctionCalls, but that can be done in an independent patch. llvm-svn: 159326
* Cleanup \brief comment. Since it is a single paragraph, no need to save ↵Dmitri Gribenko2012-06-283-6/+35
| | | | | | newlines there. llvm-svn: 159325
* Fix grammar.Eric Christopher2012-06-281-1/+1
| | | | llvm-svn: 159321
* Update the #include to find the DebugInfo.h in the correct placeBill Wendling2012-06-281-1/+1
| | | | llvm-svn: 159315
* Teach \brief parser about commands that start a new paragraph implicitlyDmitri Gribenko2012-06-282-7/+25
| | | | llvm-svn: 159309
* Fix uninitialized variable use bug found by the clairvoyant static analyzer.Argyrios Kyrtzidis2012-06-271-0/+1
| | | | | | | Commit::canReplaceText would not initialize its out 'Len' parameter before returning true and it would be used uninitialized in Commit::replaceText. llvm-svn: 159306
* Attaching documentation comments to declarations: don't attach a comment to ↵Dmitri Gribenko2012-06-272-2/+7
| | | | | | a declaration if there is a preprocessor directive between them. llvm-svn: 159305
* Fix an infinite loop in comment lexer: we were not advancing in the input ↵Dmitri Gribenko2012-06-272-10/+37
| | | | | | character stream when we saw a '<' that is not a start of an HTML tag. llvm-svn: 159303
* Two more tests for PR13207 - wrong mangling of templates with back ↵Timur Iskhodzhanov2012-06-271-4/+14
| | | | | | references [-cxx-abi microsoft] llvm-svn: 159296
* Propagate lvalue alignment into bitfields. Per report on cfe-dev.Eli Friedman2012-06-277-32/+46
| | | | llvm-svn: 159295
* objective-c mrc: Issue warning for mrc, as is done for arc, whenFariborz Jahanian2012-06-272-2/+3
| | | | | | | property retains a block object as it could be on the stack. // rdar://11761511 llvm-svn: 159293
* Refactoring after r159290: don't hold onto and check a misleading QualType.Richard Smith2012-06-271-4/+3
| | | | llvm-svn: 159292
* Check for non-POD vararg argument type after default argument promotion, notRichard Smith2012-06-272-2/+8
| | | | | | before, so we don't incorrectly think arguments of function type are non-POD. llvm-svn: 159290
* patch to suggest 'static' function should be 'static inline' Fariborz Jahanian2012-06-274-3/+30
| | | | | | | when it appears to be unused and occurs in a header. // rdar://11202617 llvm-svn: 159282
* Implement John McCall's review of r159212 other than the this pointer notRafael Espindola2012-06-274-16/+12
| | | | | | being updated. Will fix that in a second. llvm-svn: 159280
* Fix a crash I introduced in r159212.Rafael Espindola2012-06-273-1/+15
| | | | llvm-svn: 159279
* Remove unsigned and a pointer from a comment token (so that each token can ↵Dmitri Gribenko2012-06-273-52/+67
| | | | | | have only one semantic string value attached to it), at a cost of adding an additional token. llvm-svn: 159270
* Comment lexer: counting backwards from token end is thought to be confusing. ↵Dmitri Gribenko2012-06-271-14/+20
| | | | | | We already have a pointer to the beginning of the token, so use it to extract the text instead. llvm-svn: 159269
* Add a test for unterminated /* comments.Dmitri Gribenko2012-06-271-0/+13
| | | | llvm-svn: 159267
* Fix for r159256 on Windows.Axel Naumann2012-06-271-0/+4
| | | | llvm-svn: 159262
* Remove a completely unused and remarkably inaccurate list of testChandler Carruth2012-06-271-28/+0
| | | | | | | | | directories from the cmake file. Dunno what the history is here, but we're not using it. More refactorings to come here. llvm-svn: 159261
* Update the Clang CMake build to reflect the name change in LLVM r159258.Chandler Carruth2012-06-271-1/+1
| | | | llvm-svn: 159260
* From Vassil Vassilev:Axel Naumann2012-06-272-0/+16
| | | | | | | add interface for removing a FileEntry from the cache. Forces a re-read the contents from disk, e.g. because a tool (like cling) wants to pick up a modified file. llvm-svn: 159256
* Initialize RawComment::BriefTextValid in other constructor, too.Dmitri Gribenko2012-06-271-1/+2
| | | | llvm-svn: 159253
* Introduce __has_feature(attribute_unused_on_fields) to determine whetherDaniel Jasper2012-06-272-0/+8
| | | | | | | the current version of clang understands __attribute__((unused)) on fields. llvm-svn: 159252
* Add missing words to manual.Richard Trieu2012-06-271-1/+1
| | | | llvm-svn: 159251
* Add a few (currently failing) tests for the PR13207 (template mangling in ↵Timur Iskhodzhanov2012-06-271-0/+27
| | | | | | | | | | | | | the presence of back references). I've added an extra FileCheck pass for that with an extra "CURRENT" prefix. I've carefully chosed the CURRENT/CORRECT prefixes so they a) are self-descriptive b) have the same length so the mangling between the current and the correct version is obvious Feel free to ask me to change the prefixes if you know a better alternative. llvm-svn: 159250
* Update documentation with regards to template type diffing.Richard Trieu2012-06-275-0/+130
| | | | llvm-svn: 159249
* Add a few more test cases for the -cxx-abi microsoft mangler. Some of them ↵Timur Iskhodzhanov2012-06-271-2/+14
| | | | | | were broken recently llvm-svn: 159248
* Simplify logic in BriefParser::Parse(), per Jordan's comment.Dmitri Gribenko2012-06-271-14/+7
| | | | llvm-svn: 159247
* Initialize RawCommentList::BriefTextValid when deserializing AST.Dmitri Gribenko2012-06-271-1/+1
| | | | llvm-svn: 159246
* [analyzer] RetainCountChecker: remove unused SelfOwn ArgEffect kind.Jordan Rose2012-06-271-4/+1
| | | | llvm-svn: 159245
* [analyzer] Remove unneeded helper function (it's in ASTContext.h)Jordan Rose2012-06-271-9/+0
| | | | llvm-svn: 159244
* Whitespace.Chad Rosier2012-06-261-147/+147
| | | | llvm-svn: 159235
* [Windows] Improve mangling of templates when back references are presentTimur Iskhodzhanov2012-06-262-2/+70
| | | | llvm-svn: 159234
* Enable -mcpu=native and -march=native for arm targets.Benjamin Kramer2012-06-261-34/+53
| | | | | | This is only implemented on linux at the moment. llvm-svn: 159232
* Always use getDerived().shouldVisitImplicitCode() so it can be alteredDaniel Jasper2012-06-261-2/+2
| | | | | | in subclasses. llvm-svn: 159231
* Whitespace.Chad Rosier2012-06-261-107/+107
| | | | llvm-svn: 159229
* preprocessing: gcc supports #line 0. So, treat thisFariborz Jahanian2012-06-263-10/+12
| | | | | | | | as a gcc supported extension with usual treatment with -pedantic (warn) and -pedantic-errors (error). // rdar://11550996 llvm-svn: 159226
* unit test tweakAndrew Trick2012-06-261-8/+8
| | | | llvm-svn: 159225
* Remove typedef which is unused after r159189.Richard Smith2012-06-261-4/+0
| | | | llvm-svn: 159224
* Implement a lexer for structured comments.Dmitri Gribenko2012-06-2617-27/+2326
| | | | llvm-svn: 159223
* X86: add GATHER intrinsics (AVX2) in ClangManman Ren2012-06-263-0/+117
| | | | | | | | | Support the following intrinsics: _mm_mask_i32gather_pd, _mm256_mask_i32gather_pd, _mm_mask_i64gather_pd _mm256_mask_i64gather_pd, _mm_mask_i32gather_ps, _mm256_mask_i32gather_ps _mm_mask_i64gather_ps, _mm256_mask_i64gather_ps llvm-svn: 159222
* Fix a bug in my previous patch: If we are not doing a virtual call becauseRafael Espindola2012-06-262-0/+22
| | | | | | | the member expression is qualified, call the method specified in the code, not the most derived one we can find. llvm-svn: 159219
* Remove spurious semicolons committed in r159216.David Blaikie2012-06-261-2/+2
| | | | llvm-svn: 159218
* Add template type diffing to Clang. This feature will provide a betterRichard Trieu2012-06-2612-30/+1523
| | | | | | | | | | | | comparison between two templated types when they both appear in a diagnostic. Type elision will remove indentical template arguments, which can be disabled with -fno-elide-type. Cyan highlighting is applied to the differing types. For more formatting, -fdiagnostic-show-template-tree will output the template type as an indented text tree, with differences appearing inline. Template tree works with or without type elision. llvm-svn: 159216
* MachineBlockPlacement would prefer that clang lay out blocks in source order.Andrew Trick2012-06-261-0/+40
| | | | llvm-svn: 159215
* Fix comment: refer to documentation comments in general, not just Doxygen ↵Dmitri Gribenko2012-06-261-2/+2
| | | | | | comments. llvm-svn: 159214
* objc: adds diagnostic group to several old objc warnings.Fariborz Jahanian2012-06-263-14/+16
| | | | | | // rdar://11741435 pr13184 llvm-svn: 159213
* During codegen of a virtual call we would extract any casts in the expressionRafael Espindola2012-06-267-35/+198
| | | | | | | | to see if we had an underlying final class or method, but we would then use the cast type to do the call, resulting in a direct call to the wrong method. llvm-svn: 159212
OpenPOWER on IntegriCloud