Currently, "int->get();" or "int.get();" gives the vague error of "expected unqualified-id". The proposed error message is "cannot use arrow operator on a type" or "cannot use dot operator on a type".
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D297
Reword an "expected unqualified-id" error to something more helpful ClosedPublic Authored by rtrieu on Jan 14 2013, 2:51 PM.
Details
Summary Currently, "int->get();" or "int.get();" gives the vague error of "expected unqualified-id". The proposed error message is "cannot use arrow operator on a type" or "cannot use dot operator on a type".
Diff Detail
Revision Contents
Diff 694 include/clang/Basic/DiagnosticParseKinds.td
lib/Parse/ParseDecl.cpp
test/Parser/cxx-decl.cpp
|