This is an archive of the discontinued LLVM Phabricator instance.

Reword an "expected unqualified-id" error to something more helpful
ClosedPublic

Authored by rtrieu on Jan 14 2013, 2:51 PM.

Details

Reviewers
rtrieu
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

Event Timeline

*cheers*

-eric

rtrieu accepted this revision.Aug 5 2013, 6:52 PM
rtrieu closed this revision.