diff options
author | Owen Pan <owenpiano@gmail.com> | 2024-05-20 19:28:32 -0700 |
---|---|---|
committer | Owen Pan <owenpiano@gmail.com> | 2024-05-20 20:32:18 -0700 |
commit | 1c58208d899285318c89e069268145c85ec33368 (patch) | |
tree | 9186b77e0f5d632dc5e17e48c5c5c521b1ffd149 /clang/unittests/Format/FormatTestCSharp.cpp | |
parent | 560c2fd3d427a5e2dc2361abde1142f3fda40253 (diff) | |
download | llvm-1c58208d899285318c89e069268145c85ec33368.zip llvm-1c58208d899285318c89e069268145c85ec33368.tar.gz llvm-1c58208d899285318c89e069268145c85ec33368.tar.bz2 |
[clang-format][NFC] Remove redundnat llvm::, clang::, etc.
Diffstat (limited to 'clang/unittests/Format/FormatTestCSharp.cpp')
-rw-r--r-- | clang/unittests/Format/FormatTestCSharp.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/unittests/Format/FormatTestCSharp.cpp b/clang/unittests/Format/FormatTestCSharp.cpp index de261c0..7166e4e 100644 --- a/clang/unittests/Format/FormatTestCSharp.cpp +++ b/clang/unittests/Format/FormatTestCSharp.cpp @@ -21,8 +21,8 @@ protected: return getMicrosoftStyle(FormatStyle::LK_CSharp); } - static std::string format(llvm::StringRef Code, unsigned Offset, - unsigned Length, const FormatStyle &Style) { + static std::string format(StringRef Code, unsigned Offset, unsigned Length, + const FormatStyle &Style) { LLVM_DEBUG(llvm::errs() << "---\n"); LLVM_DEBUG(llvm::errs() << Code << "\n\n"); std::vector<tooling::Range> Ranges(1, tooling::Range(Offset, Length)); @@ -34,7 +34,7 @@ protected: } static std::string - format(llvm::StringRef Code, + format(StringRef Code, const FormatStyle &Style = getMicrosoftStyle(FormatStyle::LK_CSharp)) { return format(Code, 0, Code.size(), Style); } |