hanchenye-llvm-project/clang/lib/Parse
Richard Smith 7981004eb7 Improve diagnostics and error recovery for template name lookup.
For 'x::template y', consistently give a "no member named 'y' in 'x'"
diagnostic if there is no such member, and give a 'template keyword not
followed by a template' name error if there is such a member but it's not a
template. In the latter case, add a note pointing at the non-template.

Don't suggest inserting a 'template' keyword in 'X::Y<' if X is dependent
if the lookup of X::Y was actually not a dependent lookup and found only
non-templates.

llvm-svn: 332076
2018-05-11 02:43:08 +00:00
..
CMakeLists.txt
ParseAST.cpp [Templight] Template Instantiation Observer 2018-02-10 14:04:45 +00:00
ParseCXXInlineMethods.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
ParseDecl.cpp [OpenCL] Restrict various keywords in OpenCL C++ mode 2018-05-09 13:16:17 +00:00
ParseDeclCXX.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
ParseExpr.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
ParseExprCXX.cpp Improve diagnostics and error recovery for template name lookup. 2018-05-11 02:43:08 +00:00
ParseInit.cpp Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-01 21:23:52 +00:00
ParseObjc.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
ParseOpenMP.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
ParsePragma.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
ParseStmt.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
ParseStmtAsm.cpp Parse A::template B as an identifier rather than as a template-id with no 2018-04-27 02:00:13 +00:00
ParseTemplate.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
ParseTentative.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
Parser.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00