On Aug 10, 2011, at 9:06 PM, Craig Topper wrote:

> Author: ctopper
> Date: Wed Aug 10 23:06:15 2011
> New Revision: 137298
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=137298&view=rev
> Log:
> Add support for C++0x raw string literals.

Thanks Craig,

> +++ cfe/trunk/include/clang/Lex/LiteralSupport.h Wed Aug 10 23:06:15 2011
> @@ -197,6 +197,7 @@
> 
> private:
>   void init(const Token *StringToks, unsigned NumStringToks);
> +  void CopyStringFragment(const StringRef &Fragment);

Sorry to nit-pick, but please pass StringRef by value.

> +/// IsStringPrefix - Return true if Str is a string prefix.
> +/// 'L', 'u', 'U', or 'u8'. Including raw versions.
> +static bool IsStringPrefix(const StringRef &Str, bool CPlusPlus0x) {

Likewise.

-Chris
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to