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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to