- Mar 23, 2010
-
-
Ted Kremenek authored
are called (transitively) by regular functions/blocks within a translation untion. llvm-svn: 99233
-
Fariborz Jahanian authored
and fix a missing diagnostics on assigning to a read-only property. Fixes radar 7766184. llvm-svn: 99230
-
Rafael Espindola authored
we see an specialization definition ever if we then see a extern template declaration. llvm-svn: 99226
-
- Mar 22, 2010
-
-
Chris Lattner authored
format attribute specifier. llvm-svn: 99213
-
Fariborz Jahanian authored
(radar 7634653). llvm-svn: 99210
-
Fariborz Jahanian authored
implementations (radar 7547942). llvm-svn: 99198
-
Rafael Espindola authored
llvm-svn: 99188
-
Rafael Espindola authored
TSK_ExplicitInstantiationDeclaration make sure we call MaybeMarkVirtualMembersReferenced with a method attached to the definition. Remove the hack that forced vtable emition with declarations. llvm-svn: 99174
-
John McCall authored
entering a function or block definition, not on every single declaration. Unfortunately we don't have previous-lookup results around when it's time to make this decision, so we have to redo the lookup. The alternative is to use delayed diagnostics. llvm-svn: 99172
-
- Mar 21, 2010
-
-
Rafael Espindola authored
If a struct has an invalid field, mark it as invalid. Also avoid producing errors about incomplete types that are invalid. llvm-svn: 99150
-
- Mar 20, 2010
-
-
Ted Kremenek authored
declaration is in a system header. llvm-svn: 99087
-
Ted Kremenek authored
This object controls when the warnings are executed, allowing the client code in Sema to selectively disable warnings as needed. Centralizing the logic for analysis-based warnings allows us to optimize when and how they are run. Along the way, remove the redundant logic for the 'check fall-through' warning for blocks; now the same logic is used for both blocks and functions. llvm-svn: 99085
-
John McCall authored
llvm-svn: 99037
-
- Mar 19, 2010
-
-
Douglas Gregor authored
ranges as part of the ASTContext. This code is not and was never used, but contributes ~250k to the size of the Cocoa.h precompiled header. llvm-svn: 99007
-
John McCall authored
mostly during conditional expressions. llvm-svn: 98975
-
Fariborz Jahanian authored
object pointer types. Fixes radar 7634850. llvm-svn: 98970
-
John McCall authored
entity (if applicable) which was actually looked up. If a candidate was found via a using declaration, this is the UsingShadowDecl; otherwise, if the candidate is template specialization, this is the template; otherwise, this is the function. The point of this exercise is that "found declarations" are the entities we do access control for, not their underlying declarations. Broadly speaking, this patch fixes access control for using declarations. There is a *lot* of redundant code calling into the overload-resolution APIs; we really ought to clean that up. llvm-svn: 98945
-
John McCall authored
access to the (elevated) access of the accessed declaration, if applicable, rather than plunking that access onto the end after we've calculated the inheritance access. Also, being a friend of a derived class gives you public access to its members (subject to later modification by further inheritance); it does not simply ignore a single location of restricted inheritance. Also, when computing the best unprivileged path to a subobject, preserve the information that the worst path might be AS_none (forbidden) rather than a minimum of AS_private. llvm-svn: 98899
-
- Mar 18, 2010
-
-
Fariborz Jahanian authored
a property which is not lvalue. llvm-svn: 98848
-
John McCall authored
non-placement news when selecting the corresponding operator delete; this is fixed. Access and ambiguity control for calls to operator new and delete. Also AFAICT llvm-svn: 98818
-
John McCall authored
so they don't trigger diagnostics like (say) access control. llvm-svn: 98806
-
Ted Kremenek authored
llvm-svn: 98794
-
- Mar 17, 2010
-
-
John McCall authored
llvm-svn: 98764
-
John McCall authored
ActOnStartCXXMemberDeclaration. We haven't started the field collector on this class yet, so don't stop it. Fixes a crash in the VS buildbot and a memory error on all the others. llvm-svn: 98760
-
Douglas Gregor authored
considered to be a part of the translation unit unless they're named in a way that brings them into existence. llvm-svn: 98729
-
Douglas Gregor authored
source file has been changed. Handle that failure more gracefully. llvm-svn: 98727
-
John McCall authored
llvm-svn: 98710
-
John McCall authored
Fixes the crash-on-invalid in PR6629. llvm-svn: 98698
-
Fariborz Jahanian authored
returning objc objects. There will be a corresponding objective-c++ patch soon. llvm-svn: 98696
-
Fariborz Jahanian authored
literal. Fixes radar 7760213. llvm-svn: 98693
-
- Mar 16, 2010
-
-
Douglas Gregor authored
recovery for those that need it. llvm-svn: 98689
-
John McCall authored
llvm-svn: 98684
-
John McCall authored
that occur in constructors (on the unwind path). llvm-svn: 98681
-
Benjamin Kramer authored
llvm-svn: 98630
-
John McCall authored
constructors from implicitly-defined members. llvm-svn: 98614
-
John McCall authored
destructor definitions. Remove some code duplication. llvm-svn: 98611
-
John McCall authored
required when emitting a destructor definition. llvm-svn: 98609
-
Douglas Gregor authored
and start simplifying the interfaces in SourceManager that can fail. llvm-svn: 98594
-
- Mar 15, 2010
-
-
Douglas Gregor authored
SourceManager's getBuffer() (and similar) operations. This abstract can be used to force callers to cope with errors in getBuffer(), such as missing files and changed files. Fix a bunch of callers to use the new interface. Add some very basic checks for file consistency (file size, modification time) into ContentCache::getBuffer(), although these checks don't help much until we've updated the main callers (e.g., SourceManager::getSpelling()). llvm-svn: 98585
-
Ted Kremenek authored
llvm-svn: 98570
-