Loading clang-tools-extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -393,7 +393,7 @@ static bool isDestExprFix(const MatchFinder::MatchResult &Result, } // If the destination array is the same length as the given length we have to // increase the capacity by one to create space for the the null terminator. // increase the capacity by one to create space for the null terminator. static bool isDestCapacityFix(const MatchFinder::MatchResult &Result, DiagnosticBuilder &Diag) { bool IsOverflows = isDestCapacityOverflows(Result); Loading clang-tools-extra/clang-tidy/modernize/LoopConvertUtils.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -867,7 +867,7 @@ std::string VariableNamer::createIndexName() { return OldIndex->getName(); } /// Determines whether or not the the name \a Symbol conflicts with /// Determines whether or not the name \a Symbol conflicts with /// language keywords or defined macros. Also checks if the name exists in /// LoopContext, any of its parent contexts, or any of its child statements. /// Loading clang-tools-extra/clang-tidy/modernize/LoopConvertUtils.h +1 −1 Original line number Diff line number Diff line Loading @@ -145,7 +145,7 @@ public: /// /// In order to avoid this, this class looks at the container expression /// `arr[k]` and decides whether or not it contains a sub-expression declared /// within the the loop body. /// within the loop body. bool dependsOnInsideVariable(const clang::Stmt *Body) { DependsOnInsideVariable = false; TraverseStmt(const_cast<clang::Stmt *>(Body)); Loading clang-tools-extra/clang-tidy/modernize/ReplaceAutoPtrCheck.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -114,7 +114,7 @@ void ReplaceAutoPtrCheck::registerMatchers(MatchFinder *Finder) { this); // Find ownership transfers via copy construction and assignment. // AutoPtrOwnershipTransferId is bound to the the part that has to be wrapped // AutoPtrOwnershipTransferId is bound to the part that has to be wrapped // into std::move(). // std::auto_ptr<int> i, j; // i = j; Loading clang-tools-extra/clangd/CodeComplete.h +1 −1 Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ struct CodeCompleteOptions { bool IncludeIneligibleResults = false; /// Combine overloads into a single completion item where possible. /// If none, the the implementation may choose an appropriate behavior. /// If none, the implementation may choose an appropriate behavior. /// (In practice, ClangdLSPServer enables bundling if the client claims /// to supports signature help). llvm::Optional<bool> BundleOverloads; Loading Loading
clang-tools-extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -393,7 +393,7 @@ static bool isDestExprFix(const MatchFinder::MatchResult &Result, } // If the destination array is the same length as the given length we have to // increase the capacity by one to create space for the the null terminator. // increase the capacity by one to create space for the null terminator. static bool isDestCapacityFix(const MatchFinder::MatchResult &Result, DiagnosticBuilder &Diag) { bool IsOverflows = isDestCapacityOverflows(Result); Loading
clang-tools-extra/clang-tidy/modernize/LoopConvertUtils.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -867,7 +867,7 @@ std::string VariableNamer::createIndexName() { return OldIndex->getName(); } /// Determines whether or not the the name \a Symbol conflicts with /// Determines whether or not the name \a Symbol conflicts with /// language keywords or defined macros. Also checks if the name exists in /// LoopContext, any of its parent contexts, or any of its child statements. /// Loading
clang-tools-extra/clang-tidy/modernize/LoopConvertUtils.h +1 −1 Original line number Diff line number Diff line Loading @@ -145,7 +145,7 @@ public: /// /// In order to avoid this, this class looks at the container expression /// `arr[k]` and decides whether or not it contains a sub-expression declared /// within the the loop body. /// within the loop body. bool dependsOnInsideVariable(const clang::Stmt *Body) { DependsOnInsideVariable = false; TraverseStmt(const_cast<clang::Stmt *>(Body)); Loading
clang-tools-extra/clang-tidy/modernize/ReplaceAutoPtrCheck.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -114,7 +114,7 @@ void ReplaceAutoPtrCheck::registerMatchers(MatchFinder *Finder) { this); // Find ownership transfers via copy construction and assignment. // AutoPtrOwnershipTransferId is bound to the the part that has to be wrapped // AutoPtrOwnershipTransferId is bound to the part that has to be wrapped // into std::move(). // std::auto_ptr<int> i, j; // i = j; Loading
clang-tools-extra/clangd/CodeComplete.h +1 −1 Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ struct CodeCompleteOptions { bool IncludeIneligibleResults = false; /// Combine overloads into a single completion item where possible. /// If none, the the implementation may choose an appropriate behavior. /// If none, the implementation may choose an appropriate behavior. /// (In practice, ClangdLSPServer enables bundling if the client claims /// to supports signature help). llvm::Optional<bool> BundleOverloads; Loading