Skip to content

Commit 58985df

Browse files
author
iclsrc
committed
Merge from 'master' to 'sycl-web' (#687)
2 parents b98e825 + edadb81 commit 58985df

File tree

1,736 files changed

+90508
-44507
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,736 files changed

+90508
-44507
lines changed

clang-tools-extra/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ bool mergeAndDeduplicate(const TUReplacements &TUs, const TUDiagnostics &TUDs,
207207
// FIXME: This will report conflicts by pair using a file+offset format
208208
// which is not so much human readable.
209209
// A first improvement could be to translate offset to line+col. For
210-
// this and without loosing error message some modifications arround
210+
// this and without loosing error message some modifications around
211211
// `tooling::ReplacementError` are need (access to
212212
// `getReplacementErrString`).
213213
// A better strategy could be to add a pretty printer methods for

clang-tools-extra/clang-doc/BitcodeReader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class ClangDocBitcodeReader {
6161
// or block to be read.
6262
Cursor skipUntilRecordOrBlock(unsigned &BlockOrRecordID);
6363

64-
// Helper function to set up the approriate type of Info.
64+
// Helper function to set up the appropriate type of Info.
6565
llvm::Expected<std::unique_ptr<Info>> readBlockToInfo(unsigned ID);
6666

6767
llvm::BitstreamCursor &Stream;

clang-tools-extra/clang-doc/MDGenerator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ static void genMarkdown(const RecordInfo &I, llvm::raw_ostream &OS) {
215215

216216
if (!I.Members.empty()) {
217217
writeHeader("Members", 2, OS);
218-
for (const auto Member : I.Members) {
218+
for (const auto &Member : I.Members) {
219219
std::string Access = getAccess(Member.Access);
220220
if (Access != "")
221221
writeLine(Access + " " + Member.Type.Name + " " + Member.Name, OS);

clang-tools-extra/clang-doc/Representation.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ struct Reference {
135135
bool mergeable(const Reference &Other);
136136
void merge(Reference &&I);
137137

138-
SymbolID USR = SymbolID(); // Unique identifer for referenced decl
138+
SymbolID USR = SymbolID(); // Unique identifier for referenced decl
139139
SmallString<16> Name; // Name of type (possibly unresolved).
140140
InfoType RefType = InfoType::IT_default; // Indicates the type of this
141141
// Reference (namespace, record,

clang-tools-extra/clang-doc/Serialize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ populateParentNamespaces(llvm::SmallVector<Reference, 4> &Namespaces,
3232
// A function to extract the appropriate relative path for a given info's
3333
// documentation. The path returned is a composite of the parent namespaces.
3434
//
35-
// Example: Given the below, the diretory path for class C info will be
35+
// Example: Given the below, the directory path for class C info will be
3636
// <root>/A/B
3737
//
3838
// namespace A {

clang-tools-extra/clang-doc/tool/ClangDocMain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88
//
9-
// This tool for generating C and C++ documenation from source code
9+
// This tool for generating C and C++ documentation from source code
1010
// and comments. Generally, it runs a LibTooling FrontendAction on source files,
1111
// mapping each declaration in those files to its USR and serializing relevant
1212
// information into LLVM bitcode. It then runs a pass over the collected

clang-tools-extra/clang-include-fixer/IncludeFixerContext.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ std::string createQualifiedNameForReplacement(
2626
llvm::StringRef RawSymbolName,
2727
llvm::StringRef SymbolScopedQualifiersName,
2828
const find_all_symbols::SymbolInfo &MatchedSymbol) {
29-
// No need to add missing qualifiers if SymbolIndentifer has a global scope
29+
// No need to add missing qualifiers if SymbolIdentifier has a global scope
3030
// operator "::".
3131
if (RawSymbolName.startswith("::"))
3232
return RawSymbolName;

clang-tools-extra/clang-include-fixer/tool/clang-include-fixer.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ buffer as only argument."
110110
nil)
111111

112112
(defun clang-include-fixer--make-process (callback args)
113-
"Start a new clang-incude-fixer process using `make-process'.
113+
"Start a new clang-include-fixer process using `make-process'.
114114
CALLBACK is called after the process finishes successfully; it is
115115
called with a single argument, the buffer where standard output
116116
has been inserted. ARGS is a list of additional command line
@@ -129,7 +129,7 @@ arguments. Return the new process object."
129129
:stderr stderr)))
130130

131131
(defun clang-include-fixer--start-process (callback args)
132-
"Start a new clang-incude-fixer process using `start-file-process'.
132+
"Start a new clang-include-fixer process using `start-file-process'.
133133
CALLBACK is called after the process finishes successfully; it is
134134
called with a single argument, the buffer where standard output
135135
has been inserted. ARGS is a list of additional command line

clang-tools-extra/clang-move/tool/ClangMove.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- ClangMove.cpp - move defintion to new file --------------*- C++ -*-===//
1+
//===-- ClangMove.cpp - move definition to new file -------------*- C++ -*-===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

clang-tools-extra/clang-query/QueryParser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ QueryRef QueryParser::doParse() {
250250
return completeMatcherExpression();
251251

252252
Diagnostics Diag;
253-
auto MatcherSource = Line.trim();
253+
auto MatcherSource = Line.ltrim();
254254
auto OrigMatcherSource = MatcherSource;
255255
Optional<DynTypedMatcher> Matcher = Parser::parseMatcherExpression(
256256
MatcherSource, nullptr, &QS.NamedValues, &Diag);

0 commit comments

Comments
 (0)