summaryrefslogtreecommitdiffstats
path: root/clang/utils
Commit message (Collapse)AuthorAgeFilesLines
* [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
* [analyzer] Correct the error message in the testing infrastructure.Anna Zaks2012-01-041-2/+1
| | | | llvm-svn: 147568
* Relax type checking for a few Neon intrinsics. <rdar://problem/10538555>Bob Wilson2011-12-201-0/+11
| | | | | | | | | | | | Not long ago, I tightened up the type checking for pointer arguments of Neon intrinsics to match the specifications provided by ARM. One consequence was that it became impossible to access the unaligned versions of a few Neon load/store operations. Since there are just a few of these intrinsics where it makes a difference, I think it's better to relax the type checking than to either introduce new non-standard unaligned intrinsics or to disallow intrinsics for the unaligned operations. llvm-svn: 146963
* Unweaken vtables as per ↵David Blaikie2011-12-201-1/+1
| | | | | | http://llvm.org/docs/CodingStandards.html#ll_virtual_anch llvm-svn: 146959
* Add support for pretty-printing attributes, from Richard Membarth!Douglas Gregor2011-11-191-0/+67
| | | | llvm-svn: 145002
* Fix Neon builtin pointer argument checking for "sret" builtins.Bob Wilson2011-11-161-6/+24
| | | | | | | | | | | The code for checking Neon builtin pointer argument types was assuming that there would only be one pointer argument. But, for vld2-4 builtins, the first argument is a special sret pointer where the result will be stored. So, instead of scanning all the arguments to find a pointer, have TableGen figure out the index of the pointer argument that needs checking. That's better than scanning all the arguments regardless. <rdar://problem/10448804> llvm-svn: 144834
* Validate DiagGroup names in TableGen, they're used as command line arguments ↵Benjamin Kramer2011-11-151-0/+4
| | | | | | so we don't want shell meta chars in there. llvm-svn: 144645
* [analyzer] Testing: test with all the non-experimental checker packages.Anna Zaks2011-11-081-2/+6
| | | | llvm-svn: 144142
* [analyzer] Testing: support for regenerate reference outputAnna Zaks2011-11-081-12/+15
| | | | | | | Change the flow of the SATestAdd so that it could be used for regenerating the reference output without exiting with an error. llvm-svn: 144141
* [analyzer] Testing: Display the number of reported differences in the main log.Anna Zaks2011-11-082-13/+16
| | | | llvm-svn: 144113
* Check pointer types for arguments of Neon load/store macros. rdar://9958031Bob Wilson2011-11-081-10/+18
| | | | | | | | | | | The Neon load/store intrinsics need to be implemented as macros to avoid hiding alignment attributes on the pointer arguments, and the macros can only evaluate those pointer arguments once (in case they have side effects), so it has been hard to get the right type checking for those pointers. I tried various alternatives in the arm_neon.h header, but it's much more straightforward to just check directly in Sema. llvm-svn: 144075
* Clean up type flags for overloaded Neon builtins. No functional change.Bob Wilson2011-11-082-13/+43
| | | | | | | | | This patch just adds a simple NeonTypeFlags class to replace the various hardcoded constants that had been used until now. Unfortunately I couldn't figure out a good way to avoid duplicating that class between clang and TableGen, but since it's small and rarely changes, that's not so bad. llvm-svn: 144054
* [analyzer] Testing infrastructure: flush the output between projects.Anna Zaks2011-11-081-0/+1
| | | | llvm-svn: 144051
* Use StringRef's case transformation methods.Benjamin Kramer2011-11-061-2/+1
| | | | llvm-svn: 143889
* [analyzer] Relax the cmp criteria for analyzer reports.Anna Zaks2011-11-051-1/+1
| | | | | | Until we find out a way to easily find out what changed by looking at the logs. llvm-svn: 143789
* [analyzer] Add support for testing with individual preprocessed files.Anna Zaks2011-11-052-34/+133
| | | | llvm-svn: 143786
* [analyzer] Tweak the test scriptAnna Zaks2011-11-021-9/+13
| | | | | | | | Rename the pre_run_static_analyzer script into cleanup_run_static_analyzer and use it to clean up after the reference build - which is done as part of adding a new project to the system. llvm-svn: 143568
* Update the CMake build for clang-tblgen to reflect that it directlyChandler Carruth2011-11-021-0/+1
| | | | | | | depends on the Support library rather than relying on TableGen's transitive dependency. llvm-svn: 143532
* Remove the Alpha backend.Dan Gohman2011-10-273-6/+0
| | | | llvm-svn: 143165
* Remove the Blackfin backend.Dan Gohman2011-10-253-6/+0
| | | | llvm-svn: 142881
* Remove the SystemZ backend.Dan Gohman2011-10-243-6/+0
| | | | llvm-svn: 142879
* Add __nodebug__ attribute to functions in arm_neon.hBob Wilson2011-10-141-1/+1
| | | | | | This matches what we do for Intel vector intrinsics. <rdar://problem/10280207> llvm-svn: 141958
* Constant expression evaluation refactoring:Richard Smith2011-10-101-1/+1
| | | | | | | | | | | - Remodel Expr::EvaluateAsInt to behave like the other EvaluateAs* functions, and add Expr::EvaluateKnownConstInt to capture the current fold-or-assert behaviour. - Factor out evaluation of bitfield bit widths. - Fix a few places which would evaluate an expression twice: once to determine whether it is a constant expression, then again to get the value. llvm-svn: 141561
* Make clang-tblgen's Makefile independent of Clang's top-level Makefile,Peter Collingbourne2011-10-081-2/+2
| | | | | | | to avoid having to make it available for the cross build when it builds only clang-tblgen. llvm-svn: 141453
* [analyzer] Static Analyzer Qualification Infrastructure: Scripts to support ↵Anna Zaks2011-10-062-0/+378
| | | | | | basic testing of the analyzer on external projects. This can be used as a basis for setting up a buildbot. llvm-svn: 141337
* Add the Clang tblgen backends to Clang, and flip the switch to causePeter Collingbourne2011-10-0615-0/+4098
| | | | | | the build systems to use clang-tblgen. llvm-svn: 141291
* [analyzer] CmpRuns can now optionally delete empty reports.Anna Zaks2011-09-121-5/+7
| | | | llvm-svn: 139550
* [analyzer] CmpRuns.cmpScanBuildResults() should be easy to call from other ↵Anna Zaks2011-09-121-18/+32
| | | | | | modules. llvm-svn: 139543
* Rename CmpRuns into CmpRuns.py so that it could be used as a module.Anna Zaks2011-09-121-0/+0
| | | | llvm-svn: 139540
OpenPOWER on IntegriCloud