[LLVMdev] DEBUG
Chris Lattner
sabre at nondot.org
Mon Jul 7 22:09:07 PDT 2008
On Jul 7, 2008, at 5:49 PM, Dominic Hamon wrote:
> I completely agree with this point, but then aren't you trading off
> one aspect of clarity for another? It is a problem with the C
> preprocessor that hits many projects and the equivalent to the
> namespace solution for macros is to add a prefix specific to the
> project. Ie, use LLVM_DEBUG rather than DEBUG.
It hasn't been an issue so far.
> At the risk of starting a major thread that has surely been covered
> many times before: Is there a reason to still cling to the 80 column
> limit and not consider expanding it to a controversial 100 columns?
This isn't open for debate and is covered in the coding standards:
http://llvm.org/docs/CodingStandards.html#scf_codewidth
-Chris
More information about the llvm-dev
mailing list