diff options
author | Etienne Bergeron <etienneb@google.com> | 2016-06-01 21:17:32 +0000 |
---|---|---|
committer | Etienne Bergeron <etienneb@google.com> | 2016-06-01 21:17:32 +0000 |
commit | 4753302165ac7954922e530a983cecaf92f50862 (patch) | |
tree | a58403aa0b9d11af77089ad582e3effd9d84119a /lldb/packages/Python/lldbsuite/test/issue_verification/TestSignal.py.park | |
parent | eb5cfb02d6a3c757940d8ad3f31a4286535a32ad (diff) | |
download | bcm5719-llvm-4753302165ac7954922e530a983cecaf92f50862.tar.gz bcm5719-llvm-4753302165ac7954922e530a983cecaf92f50862.zip |
[Sema] Fix incorrect enum token namespace
Summary:
This patch fix the scoping of enum literal. They were not resolving
to the right type.
It was not causing any problem as one is a copy of the other one.
The literal in the switch are resolving to Sema.h:5527
```
enum AccessResult {
AR_accessible,
AR_inaccessible,
AR_dependent,
AR_delayed
};
```
Instead of SemaAccess.cpp:27
```
/// A copy of Sema's enum without AR_delayed.
enum AccessResult {
AR_accessible,
AR_inaccessible,
AR_dependent
};
```
This issue was found by a new clang-tidy check (still on-going).
Reviewers: rsmith, aaron.ballman
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D20773
llvm-svn: 271431
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/issue_verification/TestSignal.py.park')
0 files changed, 0 insertions, 0 deletions