commit | b369c2cb31358f749b9ced97440a6c457f38eaae | [log] [tgz] |
---|---|---|
author | Daniel Jasper <djasper@google.com> | Tue Jan 15 14:27:39 2013 +0000 |
committer | Daniel Jasper <djasper@google.com> | Tue Jan 15 14:27:39 2013 +0000 |
tree | d9ddaae2938d116c0ca0e49ea4f981c62a119f20 | |
parent | 47ea7f64108163491ed74dc746c8d94e10764704 [diff] |
Improve operator kind detection in presence of comments. We used to incorrectly identify some operators (*, &, +, -, etc.) if there were comments around them. Example: Before: int a = /**/ - 1; After: int a = /**/ -1; git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172533 91177308-0d34-0410-b5e6-96231b3b80d8