diff options
| author | Daniel Jasper <djasper@google.com> | 2013-07-11 14:33:06 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2013-07-11 14:33:06 +0000 |
| commit | 3262f4c10520cf11acea4cf590cfbf055924a41e (patch) | |
| tree | 676a6991fff1a4dd446d9aac981626ad0021ba18 /lib/CodeGen/CGExprComplex.cpp | |
| parent | e1f9a8e27f553dcb359dfd96a3fe3065de7c4dad (diff) | |
| download | clang-3262f4c10520cf11acea4cf590cfbf055924a41e.tar.gz clang-3262f4c10520cf11acea4cf590cfbf055924a41e.tar.bz2 clang-3262f4c10520cf11acea4cf590cfbf055924a41e.tar.xz | |
Improve detection of trailing return types.
Trailing return types can only occur in declaration contexts.
Before:
void f() { auto a = b -> c(); }
After:
void f() { auto a = b->c(); }
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186087 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions
