[cfe-dev] [patch] Support for C++0x raw string literals

Craig Topper craig.topper at gmail.com
Wed Aug 10 00:29:16 PDT 2011


> +++ include/clang/Lex/LiteralSupport.h  (working copy)
> @@ -197,6 +197,7 @@
>
>  private:
>   void init(const Token *StringToks, unsigned NumStringToks);
> +  void CopyStringFragment(const char *Start, const char *End);
>
>
> This should probably take a StringRef.

Given the low level nature of the code inside that method does
changing it to a StringRef really accomplish much?

-- 
~Craig




More information about the cfe-dev mailing list