llvm-project/clang/test
Francois Pichet efb1af9ae8 Emulate a MSVC bug where if during an using declaration name lookup, the declaration found is unaccessible (private) and that declaration was bring into scope via another using declaration whose target declaration is accessible (public) then no error is generated.
Example:
class A { public: int f();  };
class B : public A { private: using A::f; };
class C : public B { private: using B::f; };

Here, B::f is private so this should fail in Standard C++, but because B::f refers to A::f which is public MSVC accepts it.

This fixes 1 error when parsing MFC code with clang.

llvm-svn: 131896
2011-05-23 03:43:44 +00:00
..
ASTMerge Flip the default for showing include stacks on notes to false. This 2011-03-27 20:00:08 +00:00
Analysis Fix regression in static analyzer's handling of prefix '--' operator. It was being treated as postfix '--' in C mode. 2011-05-20 23:40:06 +00:00
CXX It's considered poor form to create references to the overloaded 2011-05-21 22:16:50 +00:00
CodeCompletion Fix an assertion when code-completing, rdar://9288730 & http://llvm.org/PR9728. 2011-04-23 01:04:12 +00:00
CodeGen make the x86-32 backend specify a byval alignment, even when the 2011-05-22 23:35:00 +00:00
CodeGenCXX make the x86-32 backend specify a byval alignment, even when the 2011-05-22 23:35:00 +00:00
CodeGenObjC Fix location of setter/getter synthesized for a property. 2011-05-19 23:37:41 +00:00
CodeGenObjCXX For calls returning first-class aggregates, store by element instead of creating aggregate stores in common cases. This is more friendly to fast-isel. 2011-05-17 21:08:01 +00:00
CodeGenOpenCL Modify test for 32 and 64 bit. 2011-04-16 01:00:29 +00:00
Coverage Remove the AST printer (-ast-print-xml), which is too incomplete and 2011-03-07 01:03:30 +00:00
Driver The logic about -static is darwin only. For now assume that all non 2011-05-17 16:26:17 +00:00
FixIt Fixed test case asserts due to checkin of r130710. 2011-05-02 20:39:21 +00:00
Frontend Stop leaving a.out files around. 2011-05-16 02:23:45 +00:00
Headers Attempt to fix linux buildbots by adding -ffreestanding for arm_neon tests. 2010-12-02 17:31:16 +00:00
Index Add c-index-test printing and tests for static and virtual method 2011-05-13 15:54:42 +00:00
Lexer Audit and finish the implementation of C++0x nullptr, fixing two 2011-05-21 23:15:46 +00:00
Misc Introduce the -fdiagnostics-format=xxx option to control how Clang 2011-05-21 17:07:29 +00:00
PCH Implement a few basic tests for defaulted and deleted functions. 2011-05-13 01:01:05 +00:00
Parser Implement a few basic tests for defaulted and deleted functions. 2011-05-13 01:01:05 +00:00
Preprocessor attempt to fix windows testers, which generate #line by default. 2011-05-22 23:47:57 +00:00
Rewriter Fixup more objc rwriter bug having to do with 2011-04-11 21:17:02 +00:00
Sema Add a Microsoft C test following r131201. 2011-05-11 22:28:19 +00:00
SemaCUDA Sema: diagnose kernel calls to non-global functions 2011-02-23 01:53:29 +00:00
SemaCXX Emulate a MSVC bug where if during an using declaration name lookup, the declaration found is unaccessible (private) and that declaration was bring into scope via another using declaration whose target declaration is accessible (public) then no error is generated. 2011-05-23 03:43:44 +00:00
SemaObjC Emit an error when trying to @encode an incomplete type. 2011-05-14 20:32:39 +00:00
SemaObjCXX Relax the conversion rules for Objective-C GC qualifiers a 2011-05-08 06:09:53 +00:00
SemaOpenCL OpenCL: if double precision floating point constant encountered 2011-03-11 19:24:59 +00:00
SemaTemplate It's considered poor form to create references to the overloaded 2011-05-21 22:16:50 +00:00
Unit Add CMake support to the clang unittests. 2011-02-15 07:54:28 +00:00
CMakeLists.txt Remove the clang-test-XXX targets from the CMake builds; they really aren't useful 2011-05-20 15:01:17 +00:00
Makefile test/Makefile: Reapply r127079, use $(ECHOPATH) to make lit.site.cfg(s). 2011-03-08 22:17:40 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg test/lit.cfg: bash is available on MSYS. 2011-03-05 11:16:06 +00:00
lit.site.cfg.in test: CMake: Be aware of LLVM_LIT_TOOLS_DIR. 2011-02-09 04:19:57 +00:00
make_test_dirs.pl