- Sep 04, 2009
-
-
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
-
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
-
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
-
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
-
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
-
Zhongxing Xu authored
llvm-svn: 80979
-
John McCall authored
llvm-svn: 80977
-
Fariborz Jahanian authored
base and data members when they are needed. llvm-svn: 80967
-
Anders Carlsson authored
If the alignment of the chosen field in a union is greater than the alignment of the union, we need to use a packed LLVM struct. Fixes <rdar://problem/7184250>. llvm-svn: 80964
-
Douglas Gregor authored
things, this means that we can properly cope with member access expressions such as t->operator T() where T is a template parameter (or other dependent type). llvm-svn: 80957
-
- Sep 03, 2009
-
-
Douglas Gregor authored
llvm-svn: 80954
-
Douglas Gregor authored
involve qualified names, e.g., x->Base::f. We now maintain enough information in the AST to compare the results of the name lookup of "Base" in the scope of the postfix-expression (determined at template definition time) and in the type of the object expression. llvm-svn: 80953
-
Fariborz Jahanian authored
as referecned with location where they are used. Still need to look at destructor aspects of them. llvm-svn: 80950
-
Fariborz Jahanian authored
reference/const data members when user has declared the constructor. This necessitated some non-minor refactoring. llvm-svn: 80934
-
Daniel Dunbar authored
llvm-svn: 80933
-
Steve Naroff authored
llvm-svn: 80932
-
Douglas Gregor authored
t->Base::f where t has a dependent type. We save the nested-name-specifier in the CXXUnresolvedMemberExpr then, during instantiation, substitute into the nested-name-specifier with the (transformed) object type of t, so that we get name lookup into the type of the object expression. Note that we do not yet retain information about name lookup into the lexical scope of the member access expression, so several regression tests are still disabled. llvm-svn: 80925
-
Steve Naroff authored
- Add back some harmless code that part of a reverted commit (r80859). I'll investigate the lifetime snafu (with ASTUnit) separately. - Traverse category methods, add a "class ref" and make the little test harness a bit more flexible. llvm-svn: 80921
-
Douglas Gregor authored
llvm-svn: 80916
-
Daniel Dunbar authored
variables.", this is breaking x86_64-apple-darwin10 and Linux tests. llvm-svn: 80896
-
Daniel Dunbar authored
previous commit this depends on is breaking x86_64-apple-darwin10 and Linux tests. llvm-svn: 80895
-
Daniel Dunbar authored
- Patch by David Chisnall, with PCH and Darwin support mixed in. llvm-svn: 80883
-