summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Remove a reference to the C backend.Bob Wilson2012-04-031-1/+1
| | | | llvm-svn: 153971
* Remove more redundant lookups. Add a new "all_lookups_iterator" which providesNick Lewycky2012-04-037-26/+116
| | | | | | | | a view over the contents of a DeclContext without exposing the implementation details of the StoredDeclsMap. Use this in LookupVisibleDecls to find the visible declarations. Fixes PR12339! llvm-svn: 153970
* Added a platform agnostic symbolication python module that can be used by ↵Greg Clayton2012-04-032-359/+611
| | | | | | any targets. Then modified the darwin "crashlog.py" to use this agnostic info and the new functionality and classes. llvm-svn: 153969
* constexpr support for <utility>. Patch contributed by Jonathan Sauer.Howard Hinnant2012-04-032-2/+7
| | | | llvm-svn: 153968
* Don't treat synthesized ivars as being in the base class for the purpose ofNick Lewycky2012-04-032-6/+6
| | | | | | looking up visible decls. llvm-svn: 153967
* Fix an issue in SimplifySetCC() specific to vector comparisons.Chad Rosier2012-04-031-2/+10
| | | | | | | | | | | When folding X == X we need to check getBooleanContents() to determine if the result is a vector of ones or a vector of negative ones. I tried creating a test case, but the problem seems to only be exposed on a much older version of clang (around r144500). rdar://10923049 llvm-svn: 153966
* Set soname for FreeBSD as well.Anton Korobeynikov2012-04-031-2/+2
| | | | | | Patch by Bernard Cafarelli! llvm-svn: 153965
* Remove trailing whitespace.Michael J. Spencer2012-04-0321-456/+454
| | | | llvm-svn: 153964
* Steal LLVM.h from Clang. This brings in very commonly used LLVM ADT/SupportMichael J. Spencer2012-04-0323-206/+289
| | | | | | types into the lld namespace. llvm-svn: 153963
* Replace the workaround from r153445 with a proper fix.Kaelyn Uhrain2012-04-034-22/+10
| | | | | | | | | | | | | Infinite recursion was happening when DiagnoseInvalidRedeclaration called ActOnFunctionDeclarator to check if a typo correction works when the correction was just to the nested-name-specifier because the wrong DeclContext was being passed in. Unlike a number of functions surrounding typo correction, the DeclContext passed in for a function is the context of the function name after applying any nested name specifiers, not the lexical DeclContext where the function+nested-name-specifier appears. llvm-svn: 153962
* Fix thinko check for number of operands to be the one that actuallyEric Christopher2012-04-032-1/+48
| | | | | | | | | might have more than 19 operands. Add a testcase to make sure I never screw that up again. Part of rdar://11026482 llvm-svn: 153961
* modern objective-c translator: rewriter linkage spec.Fariborz Jahanian2012-04-032-0/+45
| | | | | | // rdar://11169733 llvm-svn: 153960
* Correct handling of _Pragma macro inside a macro argument.Argyrios Kyrtzidis2012-04-035-5/+104
| | | | | | | | | | | | | | | | If we are pre-expanding a macro argument don't actually "activate" the pragma at that point, activate the pragma whenever we encounter it again in the token stream. This ensures that we will activate it in the correct location or that we will ignore it if it never enters the token stream, e.g: \#define EMPTY(x) \#define INACTIVE(x) EMPTY(x) INACTIVE(_Pragma("clang diagnostic ignored \"-Wconversion\"")) This also fixes the crash in rdar://11168596. llvm-svn: 153959
* Matrix simplification in PBQP may push infinite costs onto register options.Lang Hames2012-04-031-0/+6
| | | | | | | | The colorability heuristic should count these as denied registers. No test case - this exposed a bug on an out-of-tree target. llvm-svn: 153958
* ARMDisassembler: drop bogus dependency on ARMCodeGenDylan Noblesmith2012-04-032-3/+2
| | | | | | | And indirectly, a dependency on most of the core LLVM optimization libraries. llvm-svn: 153957
* Object: drop bogus VMCore dependencyDylan Noblesmith2012-04-031-1/+1
| | | | llvm-svn: 153956
* Updated documentation contributed by Christopher Jefferson.Howard Hinnant2012-04-031-1/+3
| | | | llvm-svn: 153955
* CodeGen: Remove unused declarationTobias Grosser2012-04-031-2/+0
| | | | llvm-svn: 153954
* CodeGen: Recreate old ivs with the original typeTobias Grosser2012-04-033-9/+37
| | | | | | | | | | | | | | | To avoid overflows we still use a larger type (i64) while calculating the value of the old ivs. However, we truncate the result to the type of the old iv when providing it to the new code. A corresponding test case is added to the polly test suite. Also, a failing test case is fixed. This fixes PR12311. Contributed by: Tsingray Liu <tsingrayliu@gmail.com> llvm-svn: 153952
* The speedup doesn't appear to have been from this, but was an anomaly of my ↵Bill Wendling2012-04-031-1/+0
| | | | | | testing machine. llvm-svn: 153951
* Reserve space for the eventual filling of the vector. This gives a small ↵Bill Wendling2012-04-031-4/+3
| | | | | | speedup. llvm-svn: 153949
* www: Fix typo, replace "LD_LBIRARY_PATH" by "LD_LIBRARY_PATH" in get_started.Hongbin Zheng2012-04-031-1/+1
| | | | llvm-svn: 153948
* Initialize ivars in the correct order.Bill Wendling2012-04-031-3/+3
| | | | llvm-svn: 153947
* Possibly too soon for this commit.Bill Wendling2012-04-031-1/+1
| | | | llvm-svn: 153946
* Revert accidental checkin.Bill Wendling2012-04-031-7/+0
| | | | llvm-svn: 153945
* Possibly too soon for this change.Bill Wendling2012-04-031-1/+1
| | | | llvm-svn: 153944
* Use the path to the header file. Use an integer instead of NULL. And get rid ↵Bill Wendling2012-04-031-3/+2
| | | | | | of a superfluous 'default' label. llvm-svn: 153943
* The option is 'NoInlineDefine.'Bill Wendling2012-04-031-1/+1
| | | | llvm-svn: 153942
* Use integers instead of NULL.Bill Wendling2012-04-032-4/+4
| | | | llvm-svn: 153941
* Spell 'DW_TAG_APPLE_property' with the correct capitalization.Bill Wendling2012-04-031-1/+1
| | | | llvm-svn: 153940
* Add an additional testcase which checks ops with multiple users.Nadav Rotem2012-04-031-0/+12
| | | | llvm-svn: 153939
* Make PPCCompilationCallbackC function to be static, so there will be no need ↵Anton Korobeynikov2012-04-031-3/+5
| | | | | | | | to issue call via PLT when LLVM is built as shared library. This mimics the X86 backend towards the approach. llvm-svn: 153938
* Tidy up spacing in some tablegen outputs.Craig Topper2012-04-032-11/+9
| | | | llvm-svn: 153937
* www: Append path instead overwrite path when exporting the path of pocc.Hongbin Zheng2012-04-031-1/+1
| | | | llvm-svn: 153936
* Add support for AVX enhanced comparison predicates. Patch from Kay Tiong Khoo.Craig Topper2012-04-039-41/+832
| | | | llvm-svn: 153935
OpenPOWER on IntegriCloud