]> granicus.if.org Git - clang/commit
Parsing and semantic analysis for template-ids that name overloaded
authorDouglas Gregor <dgregor@apple.com>
Tue, 3 Nov 2009 23:16:33 +0000 (23:16 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 3 Nov 2009 23:16:33 +0000 (23:16 +0000)
commit014e88d94ff83e3aad4e33b16413a2d1817ec208
tree30e9a9f52bb5682b9a948d82b65c95e6d309410a
parentf758dc0812e7d0a846d2e07047a9c675e2ecb191
Parsing and semantic analysis for template-ids that name overloaded
operators, e.g.,

  operator+<int>

which now works in declarators, id-expressions, and member access
expressions. This commit only implements the non-dependent case, where
we can resolve the template-id to an actual declaration.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85966 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticParseKinds.td
include/clang/Lex/Token.h
include/clang/Parse/Action.h
include/clang/Parse/DeclSpec.h
lib/Parse/MinimalAction.cpp
lib/Parse/ParseExprCXX.cpp
lib/Parse/Parser.cpp
lib/Sema/Sema.h
lib/Sema/SemaTemplate.cpp
lib/Sema/TreeTransform.h
test/SemaTemplate/operator-function-id-template.cpp [new file with mode: 0644]