[cfe-dev] [clang-format] Indentation of preprocessor directives

David Chisnall via cfe-dev cfe-dev at lists.llvm.org
Tue Aug 30 23:15:56 PDT 2016


On 30 Aug 2016, at 21:36, Martin J. O'Riordan via cfe-dev <cfe-dev at lists.llvm.org> wrote:
> 
> and whitespace indentation preceding the ‘#’ prefixed pre-processing directive:

Is doing this even valid?  I was under the impression that the C preprocessor required the hash to be on column 0.  I’ve certainly had compilers reject code in the past where the preprocessor directives were indented accidentally.

David

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3719 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160831/9df08b87/attachment.bin>


More information about the cfe-dev mailing list