[LLVMbugs] [Bug 17707] legal escaping of ) generates a warning

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Oct 28 05:48:56 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=17707

David Majnemer <david.majnemer at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |david.majnemer at gmail.com
         Resolution|---                         |INVALID

--- Comment #1 from David Majnemer <david.majnemer at gmail.com> ---
C11 

C++11 2.14.3 [lex.ccon]/p3:
  Escape sequences in which the character following the backslash is not listed
in Table 7 are conditionally-supported, with implementation-deļ¬ned semantics.

Table 7 does not include the right parenthesis character and thus clang chooses
to warn because it cannot recognize it as an escape sequence.

Note that GCC and EDG both issue a very similar diagnostic.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131028/1f436a21/attachment.html>


More information about the llvm-bugs mailing list