This is an archive of the discontinued LLVM Phabricator instance.

[sanitizers] specifying style for global constant
ClosedPublic

Authored by aizatsky on Nov 16 2016, 11:11 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

aizatsky updated this revision to Diff 78226.Nov 16 2016, 11:11 AM
aizatsky retitled this revision from to [sanitizers] specifying style for global constant.
aizatsky updated this object.

Kostya, what should be the style for global constants? lower_case is definitely wrong.

vitalybuka edited edge metadata.Nov 16 2016, 11:21 AM

LGTM, but leaving to Kostya.

kcc edited edge metadata.Nov 17 2016, 8:59 AM

most of this code uses kCamelCase

aizatsky updated this revision to Diff 78383.Nov 17 2016, 10:18 AM
aizatsky edited edge metadata.

specifying global constant prefix

PTAL.

It is not a question about the existing code, since clang-tidy integrates with git-diff. It is more about which style you want to enforce for new code.

kcc accepted this revision.Nov 17 2016, 10:35 AM
kcc edited edge metadata.

Sure. I want to keep the existing style.

This revision is now accepted and ready to land.Nov 17 2016, 10:35 AM
This revision was automatically updated to reflect the committed changes.