summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix LowerBlockAddress to produce instructions with the correct relocationAkira Hatanaka2012-04-042-12/+32
| | | | | | types for N32 ABI and update test case. llvm-svn: 154031
* Include the "issue context" (e.g. function or method) where a static ↵Ted Kremenek2012-04-0424-80/+251
| | | | | | | | analyzer issue occurred in the plist output. Fixes <rdar://problem/11004527> llvm-svn: 154030
* Move the computation of the lambda mangling information (manglingDouglas Gregor2012-04-048-111/+130
| | | | | | | | | | number + context) to the point where we initially start defining the lambda, so that the linkage won't change when that information is made available. Fixes the assertion in <rdar://problem/11182962>. Plus, actually mangle the context of lambdas properly. llvm-svn: 154029
* Attempt at fixing a crasher where summary strings where looping endlessly.Enrico Granata2012-04-042-2/+8
| | | | llvm-svn: 154028
* Fixing a potential crasher where Python would assume we have no thread state ↵Enrico Granata2012-04-041-8/+15
| | | | | | while clearing out an SBDebugger which was acquiring input from the interactive interpreter llvm-svn: 154027
* Adding a new --python-function (-F) option to breakpoint command add. The ↵Enrico Granata2012-04-044-6/+65
| | | | | | option allows the user to specify a Python function name instead of a Python oneliner or interactive script input as a breakpoint command llvm-svn: 154026
* objective-c modern translation. Remove commenting outFariborz Jahanian2012-04-041-1/+4
| | | | | | of extern "C". // rdar://11169733 llvm-svn: 154025
* Simplify test a bit now that it's not actually running cc1plus.Bob Wilson2012-04-041-2/+1
| | | | llvm-svn: 154018
* clang/test/Tooling/clang-check.cpp: Mark it as XFAIL mingw,msvc for now.NAKAMURA Takumi2012-04-041-0/+3
| | | | | | It seems JSON parser doesn't like path separator '\' on Win32 hosts. llvm-svn: 154017
* Tooling.cpp: Reorder inclusions according to the conding standards.NAKAMURA Takumi2012-04-041-3/+3
| | | | llvm-svn: 154016
* Tooling.cpp: Don't refer to $ENV{PWD}. Use llvm::sys::fs instead.NAKAMURA Takumi2012-04-041-1/+3
| | | | | | $ENV{PWD} is not expected to be set on all hosts. llvm-svn: 154015
* Add testcase for r154007, when a function has the optsize attribute,Hongbin Zheng2012-04-041-0/+35
| | | | | | the loop should be unrolled according the value of OptSizeUnrollThreshold. llvm-svn: 154014
* Don't crash (assert failure) when generating blocks for C++ types with a ↵David Chisnall2012-04-042-1/+21
| | | | | | | | non-const copy constructor. This was caused by the code deciding the number of fields in the byref structure using a different test to the part of the code creating the GEPs into said structure. llvm-svn: 154013
* Updated release notes for tooling.Manuel Klimek2012-04-041-0/+5
| | | | llvm-svn: 154012
* Always compute all the bits in ComputeMaskedBits.Rafael Espindola2012-04-0435-417/+265
| | | | | | | | This allows us to keep passing reduced masks to SimplifyDemandedBits, but know about all the bits if SimplifyDemandedBits fails. This allows instcombine to simplify cases like the one in the included testcase. llvm-svn: 154011
* clangFrontend depends on clangEdit.Benjamin Kramer2012-04-042-3/+3
| | | | llvm-svn: 154010
* Add the dependency on clang-check to clang-test, so clang-checkManuel Klimek2012-04-041-0/+1
| | | | | | can be integration tested. llvm-svn: 154009
* Adds a tooling library.Manuel Klimek2012-04-0419-3/+1382
| | | | | | | | | | | | | | | Provides an API to run clang tools (FrontendActions) as standalone tools, or repeatedly in-memory in a process. This is useful for unit-testing, map-reduce style applications, source transformation daemons or command line tools. The ability to run over multiple translation units with different command line arguments enables building up refactoring tools that need to apply transformations across translation unit boundaries. See tools/clang-check/ClangCheck.cpp for an example. llvm-svn: 154008
* LoopUnrollPass: Use variable "Threshold" instead of "CurrentThreshold" whenHongbin Zheng2012-04-041-2/+2
| | | | | | | reducing unroll count, otherwise the reduced unroll count is not taking the "OptimizeForSize" attribute into account. llvm-svn: 154007
* [ASan] use correct C-version of strchr on WindowsAlexey Samsonov2012-04-041-3/+1
| | | | llvm-svn: 154006
* Don't actually execute gcc during testing.Benjamin Kramer2012-04-041-2/+6
| | | | llvm-svn: 154005
* Move yaml::Stream's dtor out of line so it can see Scanner's dtor.Benjamin Kramer2012-04-042-0/+3
| | | | llvm-svn: 154004
* Implement DwarfLLVMRegPair::operator< without violating asymmetry.Benjamin Kramer2012-04-041-4/+5
| | | | | | MSVC8 verifies this. llvm-svn: 154002
* Add a testcase for svn r153854.Bob Wilson2012-04-041-0/+5
| | | | llvm-svn: 154001
* Fix diagnostic typos: "non-template arguments" vs "non-type template arguments".Richard Smith2012-04-041-4/+5
| | | | | | No test updates: we don't appear to have any test coverage for these diagnostics! llvm-svn: 154000
* For PR11916: Add support for g++'s __int128 keyword. Unlike __int128_t, this isRichard Smith2012-04-0414-8/+55
| | | | | | | | | | a type specifier and can be combined with unsigned. This allows libstdc++4.7 to be used with clang in c++98 mode. Several other changes are still required for libstdc++4.7 to work with clang in c++11 mode. llvm-svn: 153999
* When performing template argument deduction for an initializer list,Douglas Gregor2012-04-042-8/+30
| | | | | | | | | | | | | | | | | be sure to perform the argument type adjustments in [temp.deduct.call]p2, e.g., array decay. And, when performing these deductions in the context of 'auto', make sure that we're deducing the P' in std::initializer_list<P'> rather than the whole initializer list. Together, this makes code like for( auto s : {"Deferred", "New", "Open", "Review"}) { } work properly. llvm-svn: 153998
* Convert assert(false) followed by a return to llvm_unreachableCraig Topper2012-04-041-2/+1
| | | | llvm-svn: 153997
* Remove default case from switch that was already covering all cases.Craig Topper2012-04-041-1/+0
| | | | llvm-svn: 153996
* Dependent-sequence initialization of a single element can be directDouglas Gregor2012-04-042-2/+15
| | | | | | list-initialization. Loosen an over-eager assertion to fix PR12453. llvm-svn: 153995
* [preprocessor] In Preprocessor::CachingLex() check whether there were more ↵Argyrios Kyrtzidis2012-04-042-8/+12
| | | | | | | | | | | | | tokens cached during the non-cached lex, otherwise we are going to drop them. Fixes a bogus "_Pragma takes a parenthesized string literal" error when expanding consecutive _Pragmas in a macro argument. Part of rdar://11168596 llvm-svn: 153994
* When computing the conversion sequence in overload resolutionJohn McCall2012-04-042-0/+17
| | | | | | | | for converting an empty list to a scalar, be sure to initialize the source and destination types so that comparison of conversion sequences will work in case there are multiple viable candidates. llvm-svn: 153993
* If something already instantiated is reinstantiated as an explicit definition,Nick Lewycky2012-04-041-1/+6
| | | | | | | | | keep the latter. No test. This was noticed when poking around something else with GDB. I'm not able to figure out a testcase that would break due to this bug. Sorry. llvm-svn: 153992
* ErrorUnsupported on array cookies in the MS C++ ABI code;John McCall2012-04-041-0/+7
| | | | | | patch by Timur Iskhodzhanov. llvm-svn: 153990
* Enter an expression evaluation context when parsingJohn McCall2012-04-044-1/+30
| | | | | | | statement-expressions. Prevents cleanups and such from being claimed by the first full-expression in the block. llvm-svn: 153989
* Fix dead store warning.Ted Kremenek2012-04-041-1/+2
| | | | llvm-svn: 153988
* Change BugReporter's usage of IsCachedDiagnostic to only impact pruning ↵Ted Kremenek2012-04-041-12/+8
| | | | | | | | diagnostics emitted to the console, and leave it up to PathDiagnosticConsumer to unique reports with the shortest path. llvm-svn: 153987
* Silence dead store warning, and fix indentation.Ted Kremenek2012-04-041-8/+9
| | | | llvm-svn: 153986
* Remove dead assignment to local variable.Ted Kremenek2012-04-044-5/+0
| | | | llvm-svn: 153985
* Removed useless switch for default case when switch was covering all the ↵Pete Cooper2012-04-041-1/+0
| | | | | | enum values llvm-svn: 153984
* Add feature check "cxx_local_type_template_args" describing supportDouglas Gregor2012-04-044-0/+26
| | | | | | | for templates with local template arguments, from Michel Morin! Fixes PR12337. llvm-svn: 153983
* Eliminate obvious use-after-free. Fixes PR12433 / <rdar://problem/11168333>.Douglas Gregor2012-04-043-1/+12
| | | | llvm-svn: 153982
* Put std::piecewise_construct_t back into the dylib for ABI stability. When ↵Howard Hinnant2012-04-032-3/+2
| | | | | | clients are in C++11/constexpr mode this will be safely ignored because piecewise_construct is then declared with internal linkage. llvm-svn: 153981
* Fix the install location for the Embedded makefile target.Bob Wilson2012-04-031-1/+1
| | | | | | | svn r145378 inadvertently changed the destination for the Embedded target in the makefile. Add a "/Developer" suffix to DSTROOT to compensate. llvm-svn: 153980
* Sorry about that. MSVC seems to accept just about any random string you give ↵Michael J. Spencer2012-04-032-22/+2
| | | | | | it ;/ llvm-svn: 153979
* Remove dead code for installing libLTO when building llvmCore.Bob Wilson2012-04-032-37/+7
| | | | llvm-svn: 153978
* Add YAML parser to Support.Michael J. Spencer2012-04-03182-0/+4586
| | | | llvm-svn: 153977
* Add VSELECT to LegalizeVectorTypes::ScalariseVectorResult. Previously it ↵Pete Cooper2012-04-033-0/+42
| | | | | | would crash if it encountered a 1 element VSELECT. Solution is slightly more complicated than just creating a SELET as we have to mask or sign extend the vector condition if it had different boolean contents from the scalar condition. Fixes <rdar://problem/11178095> llvm-svn: 153976
* Removed one last bad continue statement meant to be removed in r153914.Pete Cooper2012-04-031-1/+0
| | | | llvm-svn: 153975
* When building llvmCore, pass the SDKROOT and -arch setting to configure.Bob Wilson2012-04-031-0/+10
| | | | | | | | So far all of configure tests have been run against the default SDK and architecture, regardless of what is actually being built. We've gotten lucky until now. <rdar://problem/11112479> llvm-svn: 153972
OpenPOWER on IntegriCloud