clang-1/lib/Sema
Douglas Gregor 4ba3136b3e Move the checking of overridden virtual functions into the code path
common to both parsing and template instantiation, so that we'll find
overridden virtuals for member functions of class templates when they
are instantiated. 

Additionally, factor out the checking for pure virtual functions, so
that it will be executed both at parsing time and at template
instantiation time. 

These changes fix PR5656 (for real), although one more tweak
w.r.t. member function templates will be coming along shortly.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90241 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-01 17:24:26 +00:00
..
CMakeLists.txt Test exception spec compatibility on return type and parameters. 2009-10-11 09:03:14 +00:00
CXXFieldCollector.h Unifies the name-lookup mechanisms used in various parts of the AST 2008-12-11 16:49:14 +00:00
CodeCompleteConsumer.cpp Switch the clang-to-CIndex interface for code-completion to a binary format, for a massive speedup 2009-12-01 05:55:20 +00:00
IdentifierResolver.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
IdentifierResolver.h Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
JumpDiagnostics.cpp Silence some warnings produced by Clang, and add a missing header 2009-11-17 06:14:37 +00:00
Lookup.h Eliminate the use of OverloadedFunctionDecl in member expressions. 2009-11-30 22:42:35 +00:00
Makefile Installation of Clang libraries and headers, from Axel Naumann! 2009-10-08 22:15:31 +00:00
ParseAST.cpp Don't call Decl::CollectingStats(false) and Stmt::CollectingStats(false). When called with false these functions return whether statistics are enabled. They don't change any state. Since we're not using the return value avoid calling them in the first place. 2009-11-29 14:50:29 +00:00
Sema.cpp Refactor our handling of expression evaluation contexts, so that Sema 2009-11-26 00:44:06 +00:00
Sema.h Move the checking of overridden virtual functions into the code path 2009-12-01 17:24:26 +00:00
SemaAccess.cpp Refactor the code that walks a C++ inheritance hierarchy, searching 2009-10-06 17:59:45 +00:00
SemaAttr.cpp Split LookupResult into its own header. 2009-11-18 07:57:50 +00:00
SemaCXXCast.cpp CastsAwayConstness shouldn't care if member pointers point into different classes. Fixes PR5545. 2009-11-18 18:10:53 +00:00
SemaCXXScopeSpec.cpp Split LookupResult into its own header. 2009-11-18 07:57:50 +00:00
SemaChecking.cpp Adjust format attribute index for implicit object arguments. Fixes PR5521. 2009-11-17 18:02:24 +00:00
SemaCodeComplete.cpp Switch the clang-to-CIndex interface for code-completion to a binary format, for a massive speedup 2009-12-01 05:55:20 +00:00
SemaDecl.cpp Move the checking of overridden virtual functions into the code path 2009-12-01 17:24:26 +00:00
SemaDeclAttr.cpp Use StringRef in Attr constructors. 2009-11-30 17:08:26 +00:00
SemaDeclCXX.cpp Move the checking of overridden virtual functions into the code path 2009-12-01 17:24:26 +00:00
SemaDeclObjC.cpp Don't warn if objc method param types in declaration and 2009-11-18 18:56:09 +00:00
SemaExceptionSpec.cpp First part of changes to eliminate problems with cv-qualifiers and 2009-11-16 21:35:15 +00:00
SemaExpr.cpp Don't automatically assume that an id-expression refers to a 2009-12-01 16:58:18 +00:00
SemaExprCXX.cpp Eliminate the use of OverloadedFunctionDecl in member expressions. 2009-11-30 22:42:35 +00:00
SemaExprObjC.cpp Remove default argument for ImpCastExprToType. Add appropriate argument 2009-10-20 08:27:19 +00:00
SemaInit.cpp Deduce a ConstantArrayType from a value-dependent initializer list 2009-11-19 23:25:22 +00:00
SemaLookup.cpp Rip out TemplateIdRefExpr and make UnresolvedLookupExpr and 2009-11-24 19:00:30 +00:00
SemaOverload.cpp Eliminate the use of OverloadedFunctionDecl in member expressions. 2009-11-30 22:42:35 +00:00
SemaOverload.h This patch implements Sema for clause 13.3.3.1p4. 2009-11-06 00:23:08 +00:00
SemaStmt.cpp Fix a thinko where we weren't always performing unary conversions on the switch condition, fixing PR5612 2009-11-25 15:17:36 +00:00
SemaTemplate.cpp Remove all of Sema's explicit uses of OverloadedFunctionDecl except for 2009-11-30 22:55:35 +00:00
SemaTemplate.h Implement partial ordering of function template specializations 2009-09-14 18:39:43 +00:00
SemaTemplateDeduction.cpp Remove remaining VISIBILITY_HIDDEN from anonymous namespaces. 2009-11-28 19:45:26 +00:00
SemaTemplateInstantiate.cpp Remove remaining VISIBILITY_HIDDEN from anonymous namespaces. 2009-11-28 19:45:26 +00:00
SemaTemplateInstantiateDecl.cpp Move the checking of overridden virtual functions into the code path 2009-12-01 17:24:26 +00:00
SemaType.cpp Add Parser support for C++0x literal operators ('operator "" i'). 2009-11-28 04:44:28 +00:00
TreeTransform.h Eliminate the use of OverloadedFunctionDecl in member expressions. 2009-11-30 22:42:35 +00:00