Are there standard naming conventions in LLVM code? Most of the variable, member function, and member variable names seem to be camelcase, beginning with either lowercase or uppercase, or initialisms. But there are exceptions, e.g. some parts of classes dealing with iterators use an STL naming convention with underscores. Is this written down anywhere? Thanks, Cameron
Cameron Zwarich <zwarich at apple.com> writes:> Are there standard naming conventions in LLVM code? Most of the > variable, member function, and member variable names seem to be > camelcase, beginning with either lowercase or uppercase, or > initialisms. But there are exceptions, e.g. some parts of classes > dealing with iterators use an STL naming convention with > underscores. Is this written down anywhere?The rules for writing LLVM code are here: http://www.llvm.org/docs/CodingStandards.html The paragraph in bold typeface on the Introduction may answer your question.