]> granicus.if.org Git - clang/commitdiff
Correct the documentation to give a legal example of a raw string literal.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 7 Mar 2012 08:57:31 +0000 (08:57 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 7 Mar 2012 08:57:31 +0000 (08:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152216 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LanguageExtensions.html

index 9f271900cb956c6a78f7fe4d0014d826a70fc883..12a91c9e6f2c46f71cd224fedce440d7b854b07a 100644 (file)
@@ -775,7 +775,8 @@ is enabled.</p>
 range-based for loop is enabled. </p>
 
 <h4 id="cxx_raw_string_literals">C++11 raw string literals</h4>
-<p>Use <tt>__has_feature(cxx_raw_string_literals)</tt> to determine if support for raw string literals (e.g., <tt>R"foo\bar"</tt>) is enabled.</p>
+<p>Use <tt>__has_feature(cxx_raw_string_literals)</tt> to determine if support
+for raw string literals (e.g., <tt>R"x(foo\bar)x"</tt>) is enabled.</p>
 
 <h4 id="cxx_rvalue_references">C++11 rvalue references</h4>