commit | f58f45e6d76792df8c643ce1c6d364dce5db4826 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Fri May 22 10:24:42 2009 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Fri May 22 10:24:42 2009 +0000 |
tree | 54a05a54efa7adea73c568d67e8bec7340ac8849 | |
parent | d974a7b72eb84cdc735b189bcea56fd37e13ebf6 [diff] |
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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72260 91177308-0d34-0410-b5e6-96231b3b80d8