llvm-project/clang/lib
David Blaikie ea4d259041 Fix -Woverloaded-virtual when the using statement refers to a base declaration of a virtual function.
GCC and Clang both do not warn on:

  struct a { virtual void func(); };
  struct b: a { virtual void func(); void func(int); };
  struct c: b { void func(int); using b::func; };

but if the "using" was using a::func GCC would still remain silent where Clang
would warn. This change makes Clang consistent with GCC's existing behavior.

llvm-svn: 166154
2012-10-17 23:45:39 +00:00
..
ARCMigrate Split library clangRewrite into clangRewriteCore and clangRewriteFrontend. 2012-09-01 05:09:24 +00:00
AST [Doc parsing]: This patch adds <Declaration> tag to 2012-10-17 21:58:03 +00:00
ASTMatchers First version of matchers for Types and TypeLocs. 2012-10-17 08:52:59 +00:00
Analysis Fix potential null deference in CFG printer. 2012-10-12 22:56:31 +00:00
Basic Serialize TargetOptions into an AST file, and make sure that we keep 2012-10-16 23:40:58 +00:00
CodeGen Revert r158009 since there are some uses of artificial functions in 2012-10-17 17:37:17 +00:00
Driver GNUstep runtime version default to 1.6, generate correct property attribute 2012-10-16 15:11:55 +00:00
Edit Change the representation of builtin functions in the AST 2012-08-31 00:14:07 +00:00
Frontend Add -std=c++1y argument, for *highly* experimental C++14 support. 2012-10-17 23:07:52 +00:00
FrontendTool Split library clangRewrite into clangRewriteCore and clangRewriteFrontend. 2012-09-01 05:09:24 +00:00
Headers clang/lib/Headers/CMakeLists.txt: Add f16cintrin.h. 2012-10-11 01:10:04 +00:00
Lex Teach TargetInfo to hold on to the TargetOptions with which it was 2012-10-15 16:45:32 +00:00
Parse DR1528: C++11 doesn't allow repeated cv-qualifiers in declarators after all. 2012-10-17 23:31:46 +00:00
Rewrite Remove pointless classof()'s. 2012-10-11 23:31:23 +00:00
Sema Fix -Woverloaded-virtual when the using statement refers to a base declaration of a virtual function. 2012-10-17 23:45:39 +00:00
Serialization Set a special flag in class metadata when an Objective-C class 2012-10-17 04:53:31 +00:00
StaticAnalyzer [analyzer] When binding to a ParenExpr, bind to its inner expression instead. 2012-10-17 19:35:44 +00:00
Tooling Only report first error when no compilation database is found. 2012-10-15 13:12:24 +00:00
CMakeLists.txt Adds the AST Matcher library, which provides a in-C++ DSL to express 2012-07-06 05:48:52 +00:00
Makefile Adds the AST Matcher library, which provides a in-C++ DSL to express 2012-07-06 05:48:52 +00:00