summaryrefslogtreecommitdiffstats
path: root/clang/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* Minor comments and changes to clang-completion-mode.el, from David Wood!Douglas Gregor2012-06-071-19/+11
| | | | llvm-svn: 158174
* [analyzer] SATestBuild should execute SVN updates even if Verbose is off.Jordan Rose2012-06-011-3/+3
| | | | | | Also, re-use glob results when looking for failure logs. llvm-svn: 157817
* [analyzer] Fix SATestAdd to work with SATestBuild.Jordan Rose2012-06-012-15/+10
| | | | | | | Also, eliminate global 'IsReferenceBuild' in SATestBuild. It doesn't get passed around that much. llvm-svn: 157816
* Updating the visualizers to include more datatypes. Patch thanks to Jay ↵Aaron Ballman2012-05-311-41/+267
| | | | | | Blanchard. llvm-svn: 157763
* TableGen: Remove extraneous '\' at EOL in generated tests.Jim Grosbach2012-05-301-1/+1
| | | | llvm-svn: 157700
* Fix typo.Ted Kremenek2012-05-221-1/+1
| | | | llvm-svn: 157229
* Use Perl prototypes instead of shift.Ted Kremenek2012-05-221-3/+3
| | | | llvm-svn: 157228
* Add basic delta-debugging script used for reducing analyzer crasher test cases.Ted Kremenek2012-05-211-0/+65
| | | | llvm-svn: 157219
* SmallString Visual Studio visualizer by Will Wilson.David Blaikie2012-05-161-0/+5
| | | | llvm-svn: 156959
* Fix our handling of visibility in explicit template instantiations.Rafael Espindola2012-05-151-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | * Don't copy the visibility attribute during instantiations. We have to be able to distinguish struct HIDDEN foo {}; template<class T> DEFAULT void bar() {} template DEFAULT void bar<foo>(); from struct HIDDEN foo {}; template<class T> DEFAULT void bar() {} template void bar<foo>(); * If an instantiation has an attribute, it takes precedence over an attribute in the template. * With instantiation attributes handled with the above logic, we can now select the minimum visibility when looking at template arguments. llvm-svn: 156821
* Teach the parser to deal with multiple spellings for the sameDouglas Gregor2012-05-111-9/+13
| | | | | | | attribute, rather than requiring multiple cases in consumers of this information. llvm-svn: 156666
* ARM: Support marking intrinsic definitions as 'unavailable'Jim Grosbach2012-05-092-4/+10
| | | | llvm-svn: 156490
* Remove DiagGroups from notes, and add a TableGen assertion to catch them.Richard Smith2012-05-041-0/+2
| | | | llvm-svn: 156192
* Replace the StringSwitch in AttributeList::getKind() with aDouglas Gregor2012-05-021-3/+17
| | | | | | | | TableGen-generated StringMatcher, for a 1.2% speedup in -fparse-only time in <rdar://problem/11004361>. Thanks to Benjamin for pointing me at StringMatcher! llvm-svn: 156003
* Introduce the notion of 'ignored' attributes, so that all attributesDouglas Gregor2012-05-021-5/+9
| | | | | | we accept are not modeled somehow via Attr.td. llvm-svn: 155998
* Introduce the notion of an attribute that has no direct representationDouglas Gregor2012-05-021-1/+23
| | | | | | as an AST node, and fold a number of such attributes into Attr.td. llvm-svn: 155995
* Revert my optimization to AttributeList::getKind() in r155987;Douglas Gregor2012-05-021-2/+1
| | | | | | Benjamin has suggested a better approach. llvm-svn: 155989
* Replace the StringSwitch in AttributeList::getKind(constDouglas Gregor2012-05-021-1/+2
| | | | | | | IdentifierInfo *) with a static StringMap, improving -fsyntax-only performance by 1% for the example in <rdar://problem/11004361>. llvm-svn: 155987
* Add a FIXME for uncomplete commentGabor Greif2012-04-241-7/+7
| | | | | | | fix a typo add punctuation llvm-svn: 155443
* Add SmallVectorImpl Visual Studio visualizer. Patch by Nikola Smiljanic.David Blaikie2012-04-191-0/+26
| | | | llvm-svn: 155140
* Remove the vestiges of the C backend.Eric Christopher2012-03-233-6/+0
| | | | llvm-svn: 153308
* Adding namespace qualifiers to the visualizers and improving their behavior.Aaron Ballman2012-03-101-8/+8
| | | | | | Patch thanks to Nikola Smiljanic llvm-svn: 152514
* [utils/FuzzTest] Add '--stop-on-fail' to stop the script on the first failureArgyrios Kyrtzidis2012-03-081-1/+11
| | | | | | without reverting the changes. llvm-svn: 152333
* [utils/FuzzTest] The help message says that if you don't specify --max-testsArgyrios Kyrtzidis2012-03-081-1/+1
| | | | | | "the script will run forever continually picking new tests to run", make it so. llvm-svn: 152327
* [utils/FuzzTest] For --filelist the option type is string, not integer.Argyrios Kyrtzidis2012-03-081-1/+1
| | | | llvm-svn: 152324
* Spelling.Daniel Dunbar2012-03-081-1/+1
| | | | llvm-svn: 152281
* Refactor Clang sema attribute handling.Michael Han2012-03-073-0/+131
| | | | | | | | | | | | | | | | | This submission improves Clang sema handling by using Clang tablegen to generate common boilerplate code. As a start, it implements AttributeList enumerator generation and case statements for AttributeList::getKind. A new field "SemaHandler" is introduced in Attr.td and by default set to 1 as most of attributes in Attr.td have semantic checking in Sema. For a small number of attributes that don't appear in Sema, the value is set to 0. Also there are a small number of attributes that only appear in Sema but not in Attr.td. Currently these attributes are still hardcoded in Sema AttributeList. Reviewed by Delesley Hutchins. llvm-svn: 152169
* [tablegen] Make sure that the code that is determining the order of warning ↵Argyrios Kyrtzidis2012-03-061-51/+46
| | | | | | | | groups is shared to avoid any "misalignment" if indices. llvm-svn: 152074
* [analyzer] Testing: These checkers are not experimental anymore.Anna Zaks2012-02-201-1/+1
| | | | llvm-svn: 150989
* Store the warning option corresponding to a diagnostics as an index into the ↵Benjamin Kramer2012-02-151-5/+23
| | | | | | | | option table instead of storing the name. Another 8 bytes + relocation removed from every diagnostic on x86_64. llvm-svn: 150615
* [analyzer] Add the Malloc checker to the list of tested checkers.Anna Zaks2012-02-151-1/+1
| | | | llvm-svn: 150535
* Add a script that produces a list of all diagnostics that are defined inDmitri Gribenko2012-02-131-0/+19
| | | | | | Diagnostic*.td files but not used in sources. llvm-svn: 150410
* drop more llvm:: prefixes on SmallString<>Dylan Noblesmith2012-02-131-1/+1
| | | | | | More cleanup after r149799. llvm-svn: 150380
* Remove stray semi-colon.Daniel Dunbar2012-02-101-1/+1
| | | | llvm-svn: 150231
* Kill the brief and full explanation fields from StaticDiagInfoRec. They were ↵Benjamin Kramer2012-02-091-8/+0
| | | | | | | | unused and wasted space for nothing. - per PR11952. llvm-svn: 150199
* Added MSVC visualizers for PointerIntPair and PointerUnions.Aaron Ballman2012-02-061-1/+91
| | | | | | Patch by Nikola Smiljanic llvm-svn: 149896
* Move instantiateTemplateAttribute into the sema namespace, make helpers static.Benjamin Kramer2012-02-061-2/+6
| | | | llvm-svn: 149864
* [analyzer] Testing: add automated reference results reset.Anna Zaks2012-02-031-12/+70
| | | | llvm-svn: 149682
* [analyzer] Testing: add 2 new checkers to the buildbot script.Anna Zaks2012-02-011-1/+1
| | | | llvm-svn: 149514
* [analyzer] Add the HTML file to the SATest diagnostic diff.Anna Zaks2012-01-242-4/+5
| | | | | | (Uses the functionality which has been in CmpRuns long before.) llvm-svn: 148868
* [analyzer] Testing: make diagnostic diffs more informative (addAnna Zaks2012-01-241-2/+5
| | | | | | diagnostic message). llvm-svn: 148867
* [analyzer] Unbreak the static analyzer bot. Regression from r148558.Anna Zaks2012-01-211-1/+1
| | | | | | When we build a single source file, we call clang directly (not though scan-build). llvm-svn: 148612
* Delayed template instantiation of late-parsed attributes.DeLesley Hutchins2012-01-201-1/+6
| | | | llvm-svn: 148595
* Instantiate dependent attributes when instantiating templates.DeLesley Hutchins2012-01-203-3/+162
| | | | llvm-svn: 148592
* [analyzer] Tweak the buildbot script to include the experimental taint ↵Anna Zaks2012-01-201-2/+2
| | | | | | checker and correct the checker enabling setting. llvm-svn: 148558
* Remove unreachable code in Clang. (replace with llvm_unreachable where ↵David Blaikie2012-01-171-11/+1
| | | | | | appropriate or when GCC requires it) llvm-svn: 148292
* Remove unnecessary default cases in switches over enums.David Blaikie2012-01-171-3/+0
| | | | | | This allows -Wswitch-enum to find switches that need updating when these enums are modified. llvm-svn: 148281
* CodeInit was replaced by StringInit.Jakob Stoklund Olesen2012-01-131-3/+1
| | | | llvm-svn: 148095
* [analyzer] Testing infrastructure: Flush output after every printAnna Zaks2012-01-101-1/+10
| | | | | | statement. llvm-svn: 147862
* Remove unused include of VectorExtras.h.Benjamin Kramer2012-01-071-1/+0
| | | | llvm-svn: 147737
OpenPOWER on IntegriCloud