diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-06-01 20:00:16 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-06-01 20:00:16 +0000 |
commit | 61f6bf2c8a8e94c4faed77c5a836329edba91f53 (patch) | |
tree | 4e5a79abc8f8b2e001073cd401a2005fbd1070d5 /include/clang/Lex/Preprocessor.h | |
parent | fecda7a99c7dc2d44e2652a9158dfa86b997afab (diff) |
Replace a few std::string& with StringRef. NFC.
Patch by Косов Евгений!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@238774 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex/Preprocessor.h')
-rw-r--r-- | include/clang/Lex/Preprocessor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Lex/Preprocessor.h b/include/clang/Lex/Preprocessor.h index e0e0919912..f6e61c0e7a 100644 --- a/include/clang/Lex/Preprocessor.h +++ b/include/clang/Lex/Preprocessor.h @@ -890,7 +890,7 @@ public: /// /// These predefines are automatically injected when parsing the main file. void setPredefines(const char *P) { Predefines = P; } - void setPredefines(const std::string &P) { Predefines = P; } + void setPredefines(StringRef P) { Predefines = P; } /// Return information about the specified preprocessor /// identifier token. |