Skip to content
Snippets Groups Projects
  • Jordan Rose's avatar
    74c2498b
    Don't warn about Unicode characters in -E mode. · 74c2498b
    Jordan Rose authored
    People use the C preprocessor for things other than C files. Some of them
    have Unicode characters. We shouldn't warn about Unicode characters
    appearing outside of identifiers in this case.
    
    There's not currently a way for the preprocessor to tell if it's in -E mode,
    so I added a new flag, derived from the PreprocessorOutputOptions. This is
    only used by the Unicode warnings for now, but could conceivably be used by
    other warnings or even behavioral differences later.
    
    <rdar://problem/13107323>
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173881 91177308-0d34-0410-b5e6-96231b3b80d8
    74c2498b
    History
    Don't warn about Unicode characters in -E mode.
    Jordan Rose authored
    People use the C preprocessor for things other than C files. Some of them
    have Unicode characters. We shouldn't warn about Unicode characters
    appearing outside of identifiers in this case.
    
    There's not currently a way for the preprocessor to tell if it's in -E mode,
    so I added a new flag, derived from the PreprocessorOutputOptions. This is
    only used by the Unicode warnings for now, but could conceivably be used by
    other warnings or even behavioral differences later.
    
    <rdar://problem/13107323>
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173881 91177308-0d34-0410-b5e6-96231b3b80d8
Code owners
Assign users and groups as approvers for specific file changes. Learn more.