- Sep 04, 2009
-
-
Devang Patel authored
MDNode's operand list does not include all elements. llvm-svn: 81045
-
Andreas Neustifter authored
llvm-svn: 81044
-
Lang Hames authored
llvm-svn: 81042
-
Lang Hames authored
llvm-svn: 81041
-
Lang Hames authored
a new class, MachineInstrIndex, which hides arithmetic details from most clients. This is a step towards allowing the register allocator to update/insert code during allocation. llvm-svn: 81040
-
Dale Johannesen authored
llvm-svn: 81038
-
Douglas Gregor authored
Now that parsing, semantic analysis, and (I think) code generation of pseudo-destructor expressions and explicit destructor calls works, update the example-dynarray.cpp test to destroy the objects it allocates and update the test to actually compile + link. The code seems correct, but the Clang-compiled version dies with a malloc error. Time to debug! llvm-svn: 81025
-
Mike Stump authored
llvm-svn: 81024
-
Daniel Dunbar authored
llvm-svn: 81022
-
Daniel Dunbar authored
llvm-svn: 81021
-
Daniel Dunbar authored
llvm-svn: 81020
-
Daniel Dunbar authored
llvm-svn: 81019
-
Daniel Dunbar authored
llvm-svn: 81018
-
Daniel Dunbar authored
llvm-svn: 81017
-
Daniel Dunbar authored
llvm-svn: 81016
-
Douglas Gregor authored
formed without a trailing '(', diagnose the error (these expressions must be immediately called), emit a fix-it hint, and fix the code. llvm-svn: 81015
-
Mike Stump authored
vtables. Add thunk generation. WIP. llvm-svn: 81014
-
Daniel Dunbar authored
llvm-svn: 81013
-
Daniel Dunbar authored
llvm-svn: 81012
-
Daniel Dunbar authored
llvm-svn: 81011
-
Daniel Dunbar authored
llvm-svn: 81010
-
Douglas Gregor authored
expressions, e.g., p->~T() when p is a pointer to a scalar type. We don't currently diagnose errors when pseudo-destructor expressions are used in any way other than by forming a call. llvm-svn: 81009
-
Andreas Neustifter authored
(Keep disabled test disabled until selfhosted build issue is resolved.) llvm-svn: 81008
-
Andreas Neustifter authored
(See http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090831/086219.html) llvm-svn: 81007
-
Steve Naroff authored
Implement clang_getCursor() - wired up to Argiris's work. Implement callbacks for CXCursor_ObjCProtocolRef. llvm-svn: 81004
-
Douglas Gregor authored
llvm-svn: 81002
-
Andreas Neustifter authored
into llvm/ADT. llvm-svn: 81001
-
Dan Gohman authored
Constant uniquing tables. This allows distinct ConstantExpr objects with the same operation and different flags. Even though a ConstantExpr "a + b" is either always overflowing or never overflowing (due to being a ConstantExpr), it's still necessary to be able to represent it both with and without overflow flags at the same time within the IR, because the safety of the flag may depend on the context of the use. If the constant really does overflow, it wouldn't ever be safe to use with the flag set, however the use may be in code that is never actually executed. This also makes it possible to merge all the flags tests into a single test. llvm-svn: 80998
-
Duncan Sands authored
llvm-svn: 80997
-
Evan Cheng authored
llvm-svn: 80994
-
Evan Cheng authored
llvm-svn: 80993
-
Douglas Gregor authored
then drop it on the floor. llvm-svn: 80989
-
Douglas Gregor authored
The problem this change addresses is that we treat __is_pod and __is_empty as keywords in C++, because they are built-in type traits in GCC >= 4.3. However, GNU libstdc++ 4.2 (and possibly earlier versions) define implementation-detail struct templates named __is_pod and __is_empty. This commit solves the problem by recognizing struct __is_pod and struct __is_empty as special token sequences. When one of these token sequences is encountered, the keyword (__is_pod or __is_empty) is implicitly downgraded to an identifier so that parsing can continue. This is an egregious hack, but it has the virtue of "just working" whether someone is using libstdc++ 4.2 or not, without the need for special flags. llvm-svn: 80988
-
Daniel Dunbar authored
llvm-svn: 80986
-
Daniel Dunbar authored
llvm-svn: 80985
-
Douglas Gregor authored
Actually initialize HasQualifier and HasExplicitTemplateArgumentList in the EmptyShell constructor for MemberExpr. Should clear up some valgrind failures in PCH reading llvm-svn: 80984
-
Bob Wilson authored
llvm-svn: 80983
-
Daniel Dunbar authored
suppresses the overlapped memcpy in stable_sort that clang triggers. llvm-svn: 80982
-
Daniel Dunbar authored
- Passes additional argument through to valgrind. Also, don't run valgrind with --leak-check=no by default. llvm-svn: 80981
-
Zhongxing Xu authored
llvm-svn: 80980
-