<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:nicolasweber@gmx.de" title="Nico Weber <nicolasweber@gmx.de>"> <span class="fn">Nico Weber</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - Regression(r159216): Source files with \127 assert"
   href="http://llvm.org/bugs/show_bug.cgi?id=22048">bug 22048</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>FIXED
           </td>
           <td>---
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - Regression(r159216): Source files with \127 assert"
   href="http://llvm.org/bugs/show_bug.cgi?id=22048#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - Regression(r159216): Source files with \127 assert"
   href="http://llvm.org/bugs/show_bug.cgi?id=22048">bug 22048</a>
              from <span class="vcard"><a class="email" href="mailto:nicolasweber@gmx.de" title="Nico Weber <nicolasweber@gmx.de>"> <span class="fn">Nico Weber</span></a>
</span></b>
        <pre>Thanks for the fix! But it seems like this is still broken in other places. For
example: (There's a \127 after the second ", copy-pasting that line to a local
file preserves it on my system)

$ cat test.cc
R""
$ bin/clang -c test.cc -std=c++11
test.cc:1:4: error: invalid character '' character in raw string delimiter; use
PREFIX( )PREFIX to delimit raw stringAssertion failed: (TextNormal && "Text
highlighted at end of diagnostic message."), function printWordWrapped, file
/Users/thakis/src/llvm-svn/tools/clang/lib/Frontend/TextDiagnostic.cpp, line
662.
0  clang-3.6                0x000000010d69a5b9
llvm::sys::PrintStackTrace(__sFILE*) + 57
1  clang-3.6                0x000000010d69ad8b SignalHandler(int) + 571
2  libsystem_platform.dylib 0x00007fff8caeb5aa _sigtramp + 26
3  libsystem_platform.dylib 000000000000000000 _sigtramp + 1934707312
4  clang-3.6                0x000000010d69ab36 abort + 22
5  clang-3.6                0x000000010d69ab11 __assert_rtn + 81
6  clang-3.6                0x000000010d8f97be
clang::TextDiagnostic::printDiagnosticMessage(llvm::raw_ostream&, bool,
llvm::StringRef, unsigned int, unsigned int, bool) + 1054
7  clang-3.6                0x000000010d8f907d
clang::TextDiagnostic::emitDiagnosticMessage(clang::SourceLocation,
clang::PresumedLoc, clang::DiagnosticsEngine::Level, llvm::StringRef,
llvm::ArrayRef<clang::CharSourceRange>, clang::SourceManager const*,
llvm::PointerUnion<clang::Diagnostic const*, clang::StoredDiagnostic const*>) +
285
8  clang-3.6                0x000000010d8c23b4
clang::DiagnosticRenderer::emitDiagnostic(clang::SourceLocation,
clang::DiagnosticsEngine::Level, llvm::StringRef,
llvm::ArrayRef<clang::CharSourceRange>, llvm::ArrayRef<clang::FixItHint>,
clang::SourceManager const*, llvm::PointerUnion<clang::Diagnostic const*,
clang::StoredDiagnostic const*>) + 1812
9  clang-3.6                0x000000010d8ff9d9
clang::TextDiagnosticPrinter::HandleDiagnostic(clang::DiagnosticsEngine::Level,
clang::Diagnostic const&) + 1657
10 clang-3.6                0x000000010d77fb34
clang::DiagnosticIDs::ProcessDiag(clang::DiagnosticsEngine&) const + 484
11 clang-3.6                0x000000010d77a114
clang::DiagnosticsEngine::EmitCurrentDiagnostic(bool) + 100
12 clang-3.6                0x000000010ead8dba
clang::Lexer::LexRawStringLiteral(clang::Token&, char const*,
clang::tok::TokenKind) + 730



Here's another one (\127 between <>):

#include <>

$ bin/clang -c test.cc -std=c++11
test.cc:1:10: fatal error: '' file not foundAssertion failed: (TextNormal &&
"Text highlighted at end of diagnostic message."), function printWordWrapped,
file /Users/thakis/src/llvm-svn/tools/clang/lib/Frontend/TextDiagnostic.cpp,
line 662.
0  clang-3.6                0x000000010319c5b9
llvm::sys::PrintStackTrace(__sFILE*) + 57
1  clang-3.6                0x000000010319cd8b SignalHandler(int) + 571
2  libsystem_platform.dylib 0x00007fff8caeb5aa _sigtramp + 26
3  libsystem_platform.dylib 000000000000000000 _sigtramp + 1934707312
4  clang-3.6                0x000000010319cb36 abort + 22
5  clang-3.6                0x000000010319cb11 __assert_rtn + 81
6  clang-3.6                0x00000001033fb7be
clang::TextDiagnostic::printDiagnosticMessage(llvm::raw_ostream&, bool,
llvm::StringRef, unsigned int, unsigned int, bool) + 1054
7  clang-3.6                0x00000001033fb07d
clang::TextDiagnostic::emitDiagnosticMessage(clang::SourceLocation,
clang::PresumedLoc, clang::DiagnosticsEngine::Level, llvm::StringRef,
llvm::ArrayRef<clang::CharSourceRange>, clang::SourceManager const*,
llvm::PointerUnion<clang::Diagnostic const*, clang::StoredDiagnostic const*>) +
285
8  clang-3.6                0x00000001033c43b4
clang::DiagnosticRenderer::emitDiagnostic(clang::SourceLocation,
clang::DiagnosticsEngine::Level, llvm::StringRef,
llvm::ArrayRef<clang::CharSourceRange>, llvm::ArrayRef<clang::FixItHint>,
clang::SourceManager const*, llvm::PointerUnion<clang::Diagnostic const*,
clang::StoredDiagnostic const*>) + 1812
9  clang-3.6                0x00000001034019d9
clang::TextDiagnosticPrinter::HandleDiagnostic(clang::DiagnosticsEngine::Level,
clang::Diagnostic const&) + 1657
10 clang-3.6                0x0000000103281b34
clang::DiagnosticIDs::ProcessDiag(clang::DiagnosticsEngine&) const + 484
11 clang-3.6                0x000000010327c114
clang::DiagnosticsEngine::EmitCurrentDiagnostic(bool) + 100
12 clang-3.6                0x0000000104608bec
clang::Preprocessor::HandleIncludeDirective(clang::SourceLocation,
clang::Token&, clang::DirectoryLookup const*, clang::FileEntry const*, bool) +
5852
13 clang-3.6                0x000000010460588e
clang::Preprocessor::HandleDirective(clang::Token&) + 1134
14 clang-3.6                0x00000001045e0551
clang::Lexer::LexTokenInternal(clang::Token&, bool) + 10305</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>