Skip to content
Commit 12179bc0 authored by Argyrios Kyrtzidis's avatar Argyrios Kyrtzidis
Browse files

Handle correctly a very ugly part of the C++ syntax. We cannot disambiguate...

Handle correctly a very ugly part of the C++ syntax. We cannot disambiguate between a parenthesized type-id and
a paren expression without considering the context past the parentheses.

Behold:
  (T())x;  - type-id
  (T())*x; - type-id
  (T())/x; - expression
  (T());   - expression

llvm-svn: 72260
parent 5da1f085
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment