llvm-project/clang/test
Francois Pichet b23dc0950b In Microsoft mode, if we are within a templated function and we can't resolve Identifier during BuildCXXNestedNameSpecifier, then extend the SS with Identifier. This will have the effect of resolving Identifier during template instantiation. The goal is to be able to resolve a function call whose nested-name-specifier is located inside a dependent base class.
class C {
public:
    static void foo2() {  }
};

template <class T> class A {
public:
   typedef C D;
};

template <class T> class B : public A<T> {
public:
  void foo() { D::foo2(); }
};

Note that this won't work if the NestedNameSpecifier refers to a type.
This fixes 1 error when parsing the MSVC 2010 standard headers file with clang.

llvm-svn: 136203
2011-07-27 01:05:24 +00:00
..
ARCMT objective-c: Any use of @synthesize or @dynamic lexically after a method (or C function) implementation 2011-07-22 01:06:53 +00:00
ASTMerge Flip the default for showing include stacks on notes to false. This 2011-03-27 20:00:08 +00:00
Analysis objc: clang should warn if redeclaration of methods 2011-07-24 20:53:26 +00:00
CXX This patch implements as much of the narrowing conversion error specified by 2011-07-26 23:20:30 +00:00
CodeCompletion Fix an assertion when code-completing, rdar://9288730 & http://llvm.org/PR9728. 2011-04-23 01:04:12 +00:00
CodeGen Handle different sized wchar_t for windows. 2011-07-26 23:56:49 +00:00
CodeGenCXX Disable the optimization that skips emission of complete, non-virtual 2011-07-26 23:18:30 +00:00
CodeGenObjC Document the existing objc_precise_lifetime attribute. 2011-07-22 08:53:00 +00:00
CodeGenObjCXX fix rdar://9780211 - Clang crashes with an assertion failure building WKView.mm from WebKit 2011-07-20 06:29:00 +00:00
CodeGenOpenCL This handles the missing cases of opencl vector literals. 2011-07-15 23:07:01 +00:00
Coverage Remove the AST printer (-ast-print-xml), which is too incomplete and 2011-03-07 01:03:30 +00:00
Driver Whitespace. 2011-07-20 19:27:01 +00:00
FixIt Provide fixit for static use of objective-c type 2011-07-26 17:58:54 +00:00
Frontend Revert r134898, "test/Frontend/dependency-gen.c: Mark XFAIL: mingw due to PR10331. to appease mingw-target (and non-mingw-host) builds. 2011-07-11 22:34:14 +00:00
Headers Use -ffreestanding with clang_cc1 to make the test picks the clang builtin include. 2011-07-22 10:49:54 +00:00
Index Add new libclang API, clang_codeCompleteGetObjCSelector(), which 2011-07-26 15:24:30 +00:00
Lexer Expose no newline at end of file warning under Wnewline-eof flag. 2011-07-22 23:08:19 +00:00
Misc Switch the diagnostic messages about macros to use the terms 'expanded' 2011-07-14 08:20:28 +00:00
PCH Fix diagnostic when loading a PCH which has different enabled/disabled state of -fobjc-arc. rdar://9818341 2011-07-21 21:56:04 +00:00
Parser PR10392: "#pragma GCC visibility" must not expand macros in its 2011-07-20 01:03:50 +00:00
Preprocessor Reenable test. 2011-07-11 21:58:47 +00:00
Rewriter Fixup more objc rwriter bug having to do with 2011-04-11 21:17:02 +00:00
Sema After further discussion it has been determined that alignof should report 2011-07-26 07:03:04 +00:00
SemaCUDA Sema: diagnose kernel calls to non-global functions 2011-02-23 01:53:29 +00:00
SemaCXX Re-fix r136172 so it isn't an error; apparently, some people are fond of their undefined behavior. 2011-07-26 23:27:24 +00:00
SemaObjC In ARC we emit an error when compiling: 2011-07-26 21:48:26 +00:00
SemaObjCXX Objective-C++ ARC: When performing template argument deduction for a 2011-07-26 14:53:44 +00:00
SemaOpenCL This handles the missing cases of opencl vector literals. 2011-07-15 23:07:01 +00:00
SemaTemplate In Microsoft mode, if we are within a templated function and we can't resolve Identifier during BuildCXXNestedNameSpecifier, then extend the SS with Identifier. This will have the effect of resolving Identifier during template instantiation. The goal is to be able to resolve a function call whose nested-name-specifier is located inside a dependent base class. 2011-07-27 01:05:24 +00:00
Unit test/Unit: Fixup lit.cfg to allow running inside test/Unit (with llvm-config in 2011-06-22 21:46:43 +00:00
CMakeLists.txt test/CMakeLists.txt: Re-indent. 2011-07-20 16:35:49 +00:00
Makefile lit support for REQUIRES: asserts. 2011-06-22 23:23:49 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg Added registered targets for in-test dependency declarations. 2011-06-03 18:36:30 +00:00
lit.site.cfg.in lit support for REQUIRES: asserts. 2011-06-22 23:23:49 +00:00
make_test_dirs.pl