[cfe-commits] r157331 - in /cfe/trunk: include/clang/Tooling/Refactoring.h lib/Tooling/CMakeLists.txt lib/Tooling/Refactoring.cpp unittests/CMakeLists.txt unittests/Tooling/RefactoringTest.cpp

Jordan Rose jediknil at belkadan.com
Wed May 23 11:02:41 PDT 2012


Sorry for late review...I know this has been living as a patch for a while. One small comment:

On May 23, 2012, at 12:29, Manuel Klimek wrote:
> +  /// \brief Accessors.
> +  /// @{
> +  std::string getFilePath() const { return FilePath; }

How about StringRef here? Avoids the copy in the case where it's going to be used read-only.





More information about the cfe-commits mailing list