summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Introduce __has_extension macroPeter Collingbourne2011-05-137-107/+294
| | | | | | | | | | | | | | | __has_extension is a function-like macro which takes the same set of feature identifiers as __has_feature. It evaluates to 1 if the feature is supported by Clang in the current language (either as a language extension or a standard language feature) or 0 if not. At the same time, add support for the C1X feature identifiers c_generic_selections (renamed from generic_selections) and c_static_assert, and document them. Patch by myself and Jean-Daniel Dupas. llvm-svn: 131308
* www: Update status of our move to the LLVM infrastructureTobias Grosser2011-05-131-16/+33
| | | | llvm-svn: 131307
* Headers have been moved to /includes/lldb/Interpreter. This patchJohnny Chen2011-05-138-9/+9
| | | | | | | | reflects this change. Marco Minutoli <mminutoli@gmail.com> llvm-svn: 131306
* Teach the RtDyld to tell the memory manager about how much space a functionJim Grosbach2011-05-131-3/+4
| | | | | | | actually takes rather than how much memory was allocated for it. This is more accurate and should help the manager pack things more effectively. llvm-svn: 131305
* PATH_MAX is in limits.h on Linux.Johnny Chen2011-05-131-0/+1
| | | | | | Patch by Marco Minutoli <mminutoli@gmail.com> llvm-svn: 131304
* This method has been removed from the API. This fix the compilationJohnny Chen2011-05-131-15/+0
| | | | | | | | breakage due to its presence. Patch by Marco Minutoli <mminutoli@gmail.com> llvm-svn: 131303
* Move platform-dependent test to appropriate directory.Galina Kistanova2011-05-132-0/+5
| | | | llvm-svn: 131302
* Define __ARM_NEON__ in both ARM and Thumb modes. Radar 9431992.Bob Wilson2011-05-131-3/+3
| | | | llvm-svn: 131301
* Remove the 'unaligned load' builtins now that they're no longer used in the ↵Bill Wendling2011-05-133-19/+0
| | | | | | *mmintrin.h files. llvm-svn: 131300
* For cases where a const function is inaccurately reportedSean Callanan2011-05-131-0/+26
| | | | | | | | as non-const in the debug information, added a fallback to GetFunctionAddress, adding the const qualifier after the fact and searching again. llvm-svn: 131299
* Produce UTF-8 strings with -fconstant-string-classFariborz Jahanian2011-05-131-21/+15
| | | | | | -fno-constant-cfstrings. Patch by Jonathan Schleifer. llvm-svn: 131298
* refactor CheckForwardProtocolDeclarationForCircularDependency returnsFariborz Jahanian2011-05-132-11/+13
| | | | | | 'true' on detecting protocol cycles. No functionality change. llvm-svn: 131297
* http://llvm.org/bugs/show_bug.cgi?id=9118Howard Hinnant2011-05-131-0/+5
| | | | llvm-svn: 131296
* Add c-index-test printing and tests for static and virtual methodDouglas Gregor2011-05-134-25/+30
| | | | | | query functions, from Erik Verbruggen! llvm-svn: 131295
* Make codegen able to handle values of empty types. This is one wayRafael Espindola2011-05-135-6/+136
| | | | | | to fix PR9900. I will keep it open until sable is able to comment on it. llvm-svn: 131294
* Eliminate old, useless tutorial pageDouglas Gregor2011-05-131-56/+0
| | | | llvm-svn: 131292
* A much improved type_traits for C++0x. Not yet done: ↵Howard Hinnant2011-05-1318-55/+156
| | | | | | is_trivially_constructible, is_trivially_assignable and underlying_type. llvm-svn: 131291
* CWG 1170 has been fixed for destructorsHoward Hinnant2011-05-131-2/+2
| | | | llvm-svn: 131290
* Defaulting copy constructors now works reasonably well.Alexis Hunt2011-05-134-43/+350
| | | | | | One more special member to go llvm-svn: 131287
* some updates.Chris Lattner2011-05-131-10/+7
| | | | llvm-svn: 131286
* this never happened.Chris Lattner2011-05-131-30/+0
| | | | llvm-svn: 131285
* 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
OpenPOWER on IntegriCloud