forked from OSchip/llvm-project
97f1f1c46e
specializations can be treated as a template. Finally, we can parse and process the first implementation of Fibonacci I wrote! Note that this code does not handle all of the cases where injected-class-names can be treated as templates. In particular, there's an ambiguity case that we should be able to handle (but can't), e.g., template <class T> struct Base { }; template <class T> struct Derived : Base<int>, Base<char> { typename Derived::Base b; // error: ambiguous typename Derived::Base<double> d; // OK }; llvm-svn: 67720 |
||
---|---|---|
.. | ||
AST | ||
Analysis | ||
Basic | ||
CodeGen | ||
Driver | ||
Frontend | ||
Headers | ||
Lex | ||
Parse | ||
Rewrite | ||
Sema | ||
CMakeLists.txt | ||
Makefile |