[LLVMbugs] [Bug 11267] New: [Clang 3.0] __has_feature(cxx_raw_string_literals) and __has_feature(cxx_unicode_literals) do not work correctly

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Oct 30 00:22:37 PDT 2011


             Bug #: 11267
           Summary: [Clang 3.0] __has_feature(cxx_raw_string_literals) and
                    __has_feature(cxx_unicode_literals) do not work
           Product: clang
           Version: trunk
          Platform: Macintosh
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: mimomorin at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 7548
  --> attachment.cgi?id=7548
A patch for lib/Lex/PPMacroExpansion.cpp (against trunk)

C++11 feature querying macros for "raw string literals" and "unicode string
do not work on clang-3.0 and trunk. 
According to the C++11 Implementation status page
"raw string literals" and "unicode string literals" are already implemented on
I also tested some codes and the codes worked well. 

A patch attached.

Configure bugmail: userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list