- Feb 05, 2011
-
-
Fariborz Jahanian authored
when selector metadata is generated, which is triggered by at least on class implementation. This is to match gcc's behavior. // rdar://8851684. llvm-svn: 124909
-
- Feb 04, 2011
-
-
John McCall authored
we captured in the dependent case. llvm-svn: 124887
-
Bob Wilson authored
Patch by Renato Golin! llvm-svn: 124878
-
Daniel Dunbar authored
llvm-svn: 124875
-
Douglas Gregor authored
id-expression, e.g., CurrentClass<T>::member Previously, if CurrentClass<T> was dependent and not complete, we would treat it as a dependent-scoped declaration reference expression, even if CurrentClass<T> referred to the current instantiation. Fixes PR8966 and improves type checking of templates. llvm-svn: 124867
-
Douglas Gregor authored
bit-field width nor the initializer value are type- or value-dependent. Fixes PR8712. llvm-svn: 124866
-
Douglas Gregor authored
cv-qualifiers on the object against the cv-qualifiers on the member function. Fixes PR8315. llvm-svn: 124865
-
Douglas Gregor authored
llvm-svn: 124863
-
Douglas Gregor authored
lists with zero template arguments. Fixes some seriously scary crashers in C++ PCH. llvm-svn: 124862
-
Douglas Gregor authored
C, then hitting an assertion because C code shouldn't try to parse optional nested-name-specifiers. Fixes PR9137. llvm-svn: 124860
-
Ted Kremenek authored
Downgrade error about attribute 'iboutlet' and 'ibaction' being applied to anything but a instance method to a warning. llvm-svn: 124858
-
Douglas Gregor authored
[temp.param]p9 and C++ DR226. Fixes PR8747. llvm-svn: 124856
-
Douglas Gregor authored
it's okay for the following template parameters to not have default arguments (since those template parameters can still be deduced). Also, downgrade the error about default template arguments in function templates to an extension warning, since this is a harmless C++0x extension. llvm-svn: 124855
-
Daniel Dunbar authored
might expect. llvm-svn: 124848
-
Fariborz Jahanian authored
llvm-svn: 124837
-
Fariborz Jahanian authored
llvm-svn: 124835
-
Fariborz Jahanian authored
abi. llvm-svn: 124834
-
Douglas Gregor authored
or source locations that refer into a macro instantiation, delete all of the Fix-Its on that diagnostic. llvm-svn: 124833
-
- Feb 03, 2011
-
-
Oscar Fuentes authored
llvm-svn: 124825
-
Argyrios Kyrtzidis authored
llvm-svn: 124822
-
Douglas Gregor authored
llvm-svn: 124820
-
Fariborz Jahanian authored
llvm-svn: 124807
-
Argyrios Kyrtzidis authored
The difference with gcc is that it warns if you overload virtual methods only if the method doesn't also override any method. This is to cut down on the number of warnings and make it more useful like reported here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20423. If we want to warn that not all overloads are overriden we can have an additional warning like -Wpartial-override. -Woverloaded-virtual, unlike gcc, is added to -Wmost. Addresses rdar://8757630. llvm-svn: 124805
-
Douglas Gregor authored
whose inode has changed since the file was first created and that is being seen through a different path name (e.g., due to symlinks or relative path elements), such that its FileEntry pointer doesn't match a known FileEntry pointer. Since this requires a system call (to stat()), we only perform this deeper checking if we can't find the file by comparing FileEntry pointers. Also, add a micro-optimization where we don't bother to compute line numbers when given the location (1, 1). This improves the efficiency of clang_getLocationForOffset(). llvm-svn: 124800
-
John McCall authored
llvm-svn: 124786
-
John McCall authored
right for anonymous struct/union members led to me discovering some seemingly broken code in that area of Sema, which I fixed, partly by changing the representation of member pointer constants so that IndirectFieldDecls aren't expanded. This led to assorted cleanups with member pointers in CodeGen, and while I was doing that I saw some random other things to clean up. llvm-svn: 124785
-
Rafael Espindola authored
This reopens PR99114, but that one at least can be avoided with an #include. PR9130 cannot. llvm-svn: 124780
-
Rafael Espindola authored
links. llvm-svn: 124776
-
Daniel Dunbar authored
the atomic writes option, since the intent is that this option be set for an entire build, which may have any number of compiler instances writing to the same output file. llvm-svn: 124772
-
Anders Carlsson authored
is not defined in the current translation unit. Doing so lead to compile errors such as PR9114. Instead, when CodeGen is building the vtable, don't try to emit a definition for functions that aren't marked used in the current translation unit. Fixes PR9114. llvm-svn: 124768
-
Douglas Gregor authored
redundant searches in the string. No functionality change. llvm-svn: 124760
-
Ted Kremenek authored
Based on user feedback, swap -Wuninitialized diagnostics to have the warning refer to the bad use, and the note to the variable declaration. llvm-svn: 124758
-
Fariborz Jahanian authored
llvm-svn: 124757
-
- Feb 02, 2011
-
-
Devang Patel authored
llvm-svn: 124756
-
Douglas Gregor authored
on that name. Canonicalization eliminates silliness such as "." and "foo/.." that breaks the uniquing of files in the presence of virtual files or files whose inode numbers have changed during parsing/re-parsing. c-index-test isn't able to create this crazy situation, so I've resorted to testing outside of the Clang tree. Fixes <rdar://problem/8928220>. Note that this hackery will go away once we have a real virtual file system on which we can layer FileManager; the virtual-files hack is showing cracks. llvm-svn: 124754
-
Devang Patel authored
llvm-svn: 124753
-
Daniel Dunbar authored
CC_PRINT_OPTIONS and can be used to get some out-of-band information on header usage from a build. llvm-svn: 124751
-
Daniel Dunbar authored
information to a file. llvm-svn: 124750
-
Daniel Dunbar authored
ones outside the predefines buffer (which is what -H does). llvm-svn: 124749
-
Fariborz Jahanian authored
but has non-empty data fields, such as array of zero length, remains zero. // rdar://8945175 llvm-svn: 124741
-