diff options
author | Fangrui Song <maskray@google.com> | 2019-02-07 15:38:14 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-02-07 15:38:14 +0000 |
commit | 8ebb854bc2b99937b1e556be07f0e6668ad97c02 (patch) | |
tree | a5c3cb5216d36d815703a303726136fa45a50b15 | |
parent | 4b68d910d94b086f95f329f19c185e0aad207486 (diff) | |
download | bcm5719-llvm-8ebb854bc2b99937b1e556be07f0e6668ad97c02.tar.gz bcm5719-llvm-8ebb854bc2b99937b1e556be07f0e6668ad97c02.zip |
[ELF] Format lines inadvertently indented by rCTE353380
llvm-svn: 353415
-rw-r--r-- | clang-tools-extra/clangd/SourceCode.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang-tools-extra/clangd/SourceCode.h b/clang-tools-extra/clangd/SourceCode.h index 82d9492821a..e6ce8c3be5d 100644 --- a/clang-tools-extra/clangd/SourceCode.h +++ b/clang-tools-extra/clangd/SourceCode.h @@ -47,7 +47,7 @@ size_t lspLength(StringRef Code); /// The returned value is in the range [0, Code.size()]. llvm::Expected<size_t> positionToOffset(llvm::StringRef Code, Position P, - bool AllowColumnsBeyondLineLength = true); + bool AllowColumnsBeyondLineLength = true); /// Turn an offset in Code into a [line, column] pair. /// The offset must be in range [0, Code.size()]. @@ -110,7 +110,7 @@ Range halfOpenToRange(const SourceManager &SM, CharSourceRange R); // The offset must be in range [0, Code.size()]. // Prefer to use SourceManager if one is available. std::pair<size_t, size_t> offsetToClangLineColumn(llvm::StringRef Code, - size_t Offset); + size_t Offset); /// From "a::b::c", return {"a::b::", "c"}. Scope is empty if there's no /// qualifier. @@ -120,10 +120,10 @@ splitQualifiedName(llvm::StringRef QName); TextEdit replacementToEdit(StringRef Code, const tooling::Replacement &R); std::vector<TextEdit> replacementsToEdits(StringRef Code, - const tooling::Replacements &Repls); + const tooling::Replacements &Repls); TextEdit toTextEdit(const FixItHint &FixIt, const SourceManager &M, - const LangOptions &L); + const LangOptions &L); /// Get the canonical path of \p F. This means: /// @@ -136,7 +136,7 @@ TextEdit toTextEdit(const FixItHint &FixIt, const SourceManager &M, /// component that generate it, so that paths are normalized as much as /// possible. llvm::Optional<std::string> getCanonicalPath(const FileEntry *F, - const SourceManager &SourceMgr); + const SourceManager &SourceMgr); bool isRangeConsecutive(const Range &Left, const Range &Right); |