summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* remove some old redirect pages. We're into our 3rd year of redirecting, the ↵Chris Lattner2011-05-133-51/+0
| | | | | | world should have adjusted by now :) llvm-svn: 131284
* Fix a source of non determinism in FindUsedTypes, use a SetVector instead of aJulien Lerouge2011-05-134-11/+11
| | | | | | | | set. rdar://9423996 llvm-svn: 131283
* Delete doxygen.cfg, and use cwd-relative paths in doxygen.cfg.in.Peter Collingbourne2011-05-133-1241/+11
| | | | | | Now "make doxygen" works for clang. llvm-svn: 131282
* Refactoring of constant expression evaluatorPeter Collingbourne2011-05-135-346/+258
| | | | | | | | | This introduces a generic base class for the expression evaluator classes, which handles a few common expression types which were previously handled separately in each class. Also, the expression evaluator now uses ConstStmtVisitor. llvm-svn: 131281
* Add a ConstStmtVisitor classPeter Collingbourne2011-05-131-16/+41
| | | | | | | | | ConstStmtVisitor is a constness-preserving variant of StmtVisitor. ConstStmtVisitor and StmtVisitor share an implementation using a common base class, StmtVisitorBase, which uses a template template parameter to build pointer types. llvm-svn: 131280
* Re-add the autoconf rule for the docs/doxygen.cfg file.Peter Collingbourne2011-05-132-0/+15
| | | | | | | | For some reason this was not reverted when r103213 was. At the same time, add an optional rule for clang's doxygen.cfg. llvm-svn: 131279
* Add 'may_alias' attribute. Noticed by Eli.Bill Wendling2011-05-132-3/+3
| | | | llvm-svn: 131278
* Convert SimplifyIVUsers into a worklist instead of a single pass overAndrew Trick2011-05-131-1/+1
| | | | | | the users. llvm-svn: 131277
* When determining whether we can make a declaration into a globalDouglas Gregor2011-05-137-20/+38
| | | | | | | constant, also consider whether it's a class type that has any mutable fields. If so, it can't be a global constant. llvm-svn: 131276
* Implement a few basic tests for defaulted and deleted functions.Alexis Hunt2011-05-134-8/+49
| | | | | | | More comprehensive testing once copy {constructors,assignment operators} can be defaulted. llvm-svn: 131275
* Since I can't reproduce the failures from 131261, re-trying with aStuart Hastings2011-05-132-9/+16
| | | | | | simplified version. <rdar://problem/9298790> llvm-svn: 131274
* When trying to print out the function name corresponding to the frame, if ↵Johnny Chen2011-05-131-1/+7
| | | | | | | | the function obj from the frame is not valid, try look for the symbol in the symbol table. llvm-svn: 131273
* Teach the template parameter dependency checker used when matchingDouglas Gregor2011-05-131-0/+4
| | | | | | | | template parameter lists to scope specifiers for friend declarations about injected class name types. Fixes the g++.dg/template/memfriend5.C regression in the GCC testsuite. llvm-svn: 131272
* __is_trivially_copyable now supplied by clangAlexis Hunt2011-05-131-1/+1
| | | | llvm-svn: 131271
* Implement the __is_trivially_copyable type traitAlexis Hunt2011-05-1312-0/+142
| | | | llvm-svn: 131270
* Revert 131266 and 131261 due to buildbot complaints.Stuart Hastings2011-05-132-19/+9
| | | | | | rdar://problem/9298790 llvm-svn: 131269
* Represent the unaligned loads natively. These are converted into a call to theBill Wendling2011-05-132-3/+12
| | | | | | correct unaligned load. llvm-svn: 131268
* Tweak 131261 (thumb2-cbnz.ll) to generate the intended cbnz.Stuart Hastings2011-05-131-8/+10
| | | | | | rdar://problem/9298790 llvm-svn: 131266
* Corrected misspellingHoward Hinnant2011-05-131-1/+1
| | | | llvm-svn: 131265
* Updated to reflect updated use of existing clang supportHoward Hinnant2011-05-131-10/+10
| | | | llvm-svn: 131264
* Introduced support for UnknownAnyTy, the Clang typeSean Callanan2011-05-129-32/+131
| | | | | | | | | | | | | | | | | | | representing variables whose type must be inferred from the way they are used. Functions without debug information now return UnknownAnyTy and must be cast. Variables with no debug information are not yet using UnknownAnyTy; instead they are assumed to be void*. Support for variables of unknown type is coming (and, in fact, some relevant support functions are included in this commit) but will take a bit of extra effort. The testsuite has also been updated to reflect the new requirement that the result of printf be cast, i.e. expr (int) printf("Hello world!") llvm-svn: 131263
* Non-fast-isel followup to 129634; correctly handle branches controlledStuart Hastings2011-05-122-5/+13
| | | | | | | | | | | | | by non-CMP expressions. The executable test case (129821) would test this as well, if we had an "-O0 -disable-arm-fast-isel" LLVM-GCC tester. Alas, the ARM assembly would be very difficult to check with FileCheck. The thumb2-cbnz.ll test is affected; it generates larger code (tst.w vs. cmp #0), but I believe the new version is correct. rdar://problem/9298790 llvm-svn: 131261
* Implement defaulting of destructors.Alexis Hunt2011-05-126-28/+64
| | | | llvm-svn: 131260
* HrmAlexis Hunt2011-05-126-54/+243
| | | | llvm-svn: 131259
* Update comment.Evan Cheng2011-05-121-2/+0
| | | | llvm-svn: 131258
* Fix the InstructionLLVM::Dump() so that for Triple::arm, PC reads as the addressJohnny Chen2011-05-122-17/+22
| | | | | | | | | of the current instruction plus 8. And for Triple::thumb, it is plus 4. rdar://problem/9170971 lldb disassembly's symbol information not correct (off by 2?) llvm-svn: 131256
* Add a method to query whether or not a class has a default constructor declared.Nick Lewycky2011-05-121-1/+7
| | | | llvm-svn: 131255
* After issuing diagnostics on circular protocol list,Fariborz Jahanian2011-05-122-5/+8
| | | | | | | | don't build circular AST in protocol's protocol list when user code has introduced it. Indexer and other clients may crash. // rdar://9221614 llvm-svn: 131254
* Cleaned up the expected substring for output from the stop-hook mechanism.Johnny Chen2011-05-121-2/+2
| | | | llvm-svn: 131253
* Correction. Use explicit target triple in the test.Galina Kistanova2011-05-121-1/+1
| | | | llvm-svn: 131252
* www: Use german 'umlaut' in SimbuergerTobias Grosser2011-05-121-1/+1
| | | | llvm-svn: 131247
* ScopDetection: Move implementation of function from header to .cpp fileTobias Grosser2011-05-122-4/+6
| | | | llvm-svn: 131246
* Doug convinced me that DW_AT_APPLE_objc_complete_type is more appropriate name.Devang Patel2011-05-124-4/+4
| | | | | | s/DW_AT_APPLE_objc_class_extension/DW_AT_APPLE_objc_complete_type/g llvm-svn: 131245
* Doug convinced me that DW_AT_APPLE_objc_complete_type is more appropriate name.Devang Patel2011-05-124-7/+7
| | | | | | s/DW_AT_APPLE_objc_class_extension/DW_AT_APPLE_objc_complete_type/g llvm-svn: 131244
* MCJIT section loading should just skip non-text sections rather thanJim Grosbach2011-05-121-4/+4
| | | | | | | erroring out completely. Some modules produce sections that aren't referenced, so it's friendlier to clients like LLDB to just skip them, at least for now. llvm-svn: 131243
* Do not add AT_APPLE_objc_class_extension attribute if @implementation is not ↵Devang Patel2011-05-122-2/+13
| | | | | | seen. llvm-svn: 131242
* Re-enable branchfolding common code hoisting optimization. Fixed a liveness ↵Evan Cheng2011-05-122-13/+66
| | | | | | test bug and also taught it to update liveins. llvm-svn: 131241
* enable __has_feature(is_standard_layout)Howard Hinnant2011-05-122-0/+6
| | | | llvm-svn: 131240
* Use DW_AT_APPLE_objc_class_extension attribute to identify interfaces that ↵Devang Patel2011-05-123-1/+35
| | | | | | | | represent class extension. Radar 9423077. llvm-svn: 131239
* Let Objective-C front-end identify class extension, in dwarf output, using ↵Devang Patel2011-05-124-9/+19
| | | | | | an attribute DW_AT_APPLE_objc_class_extension. llvm-svn: 131238
* LLVM doesn't always optimize away the four loads from this:Bill Wendling2011-05-125-2/+8
| | | | | | | | | | (__m128){ p[0], p[1], p[2], p[3] } which produces really bad code. This could be done in instcombine, but it's probably better to do it in the front-end instead. <rdar://problem/9424836> llvm-svn: 131237
* Construction of the RegisterReaderArg instance should happen after we have a ↵Johnny Chen2011-05-121-2/+2
| | | | | | valid base_addr, not before. llvm-svn: 131236
* Temporarily disable the transformation. It's breaking 186.crafty in some ↵Evan Cheng2011-05-121-0/+4
| | | | | | configuration. llvm-svn: 131235
* The MCJIT memory manager needs to initialize its Module member.Jim Grosbach2011-05-122-2/+2
| | | | llvm-svn: 131234
* Fix setting of isCommutable flag.Akira Hatanaka2011-05-122-16/+25
| | | | llvm-svn: 131233
* reverting test commitJason W Kim2011-05-121-1/+0
| | | | llvm-svn: 131232
* Test commit from MercurialJason W Kim2011-05-121-0/+1
| | | | llvm-svn: 131231
* Add clang_CXXMethod_isVirtual() to libclang, from Erik Verbruggen!Douglas Gregor2011-05-124-0/+22
| | | | llvm-svn: 131230
* CMake builds gold by default since revision 127466. This isOscar Fuentes2011-05-121-2/+4
| | | | | | | | | inconsistent with autoconf, which by default set BINUTILS_INCDIR to empty and exclude gold from target list. Based on a patch by Haitao Li! llvm-svn: 131229
* Properly parse the 'default' and 'delete' keywords.Alexis Hunt2011-05-1211-79/+213
| | | | | | | | | | | | | | | | | They are actually grammatically considered definitions and parsed accordingly. This fixes the outstanding bugs regarding defaulting functions after their declarations. We now really nicely diagnose the following construct (try it!) int foo() = delete, bar; Still todo: Defaulted functions other than default constructors Test cases (including for the above construct) llvm-svn: 131228
OpenPOWER on IntegriCloud