We may not have the mangling for static locals vs. enums completely figured out, but at least for my simple test cases, enums should not increment the mangling number.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM
include/clang/Sema/Scope.h | ||
---|---|---|
116 ↗ | (On Diff #10458) | Please make this enumerator end with a comma, it will make the history nicer in the future when somebody else needs to add something here. |
include/clang/Sema/Scope.h | ||
---|---|---|
116 ↗ | (On Diff #10458) | I guess this is legal now that we're using C++11, and I see the motivation, but do we generally do this in Clang or LLVM? I feel like I've seen other enumerations ending with a comma. |
include/clang/Sema/Scope.h | ||
---|---|---|
116 ↗ | (On Diff #10458) | Some people expressed that they like having the comma there, so I'll add it. |