[PATCH] D146814: [Flang] Add debug flag to enable current debug information pass
Sacha Ballantyne via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 28 06:39:28 PDT 2023
SBallantyne added a comment.
================
Comment at: clang/lib/Driver/ToolChains/CommonArgs.h:111
+llvm::codegenoptions::DebugInfoKind
+DebugLevelToInfoKind(const llvm::opt::Arg &A);
+
----------------
awarzynski wrote:
> awarzynski wrote:
> > CamelCase or camelCase? ;-)
> Sorry, I meant that this function uses wrong casing. It ought to be `debugLevelToInfoKind` and `addDebugInfoKind`: https://llvm.org/docs/CodingStandards.html#name-types-functions-variables-and-enumerators-properly
I thought that the general rule was that the style guide should be followed apart from when there is already code in a particular style in a file, however i have realised that while most functions in this file are `CamelCase`, there are some that are `camelCase`, so i am unsure of what is the right way.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146814/new/
https://reviews.llvm.org/D146814
More information about the cfe-commits
mailing list