diff --git a/include/clang/AST/ASTContext.h b/include/clang/AST/ASTContext.h index a88bcf04dbe80c371ba52744b5e8bb49ef145b67..19e23fab5a5e681ebfeb62f9f436505f1bde11a0 100644 --- a/include/clang/AST/ASTContext.h +++ b/include/clang/AST/ASTContext.h @@ -476,7 +476,7 @@ private: /// entities should not be instrumented. std::unique_ptr<SanitizerBlacklist> SanitizerBL; - /// \brief Function filtering mehcanism to determine whether a given function + /// \brief Function filtering mechanism to determine whether a given function /// should be imbued with the XRay "always" or "never" attributes. std::unique_ptr<XRayFunctionFilter> XRayFilter; diff --git a/include/clang/AST/Decl.h b/include/clang/AST/Decl.h index 9aaba17f6593f69a9e2fbf5cbf9649e3100891cc..ad723a3e2b8f0fe44322748455e1f4b020939ad3 100644 --- a/include/clang/AST/Decl.h +++ b/include/clang/AST/Decl.h @@ -838,7 +838,7 @@ protected: /// Describes the kind of default argument for this parameter. By default /// this is none. If this is normal, then the default argument is stored in - /// the \c VarDecl initializer expression unless we were unble to parse + /// the \c VarDecl initializer expression unless we were unable to parse /// (even an invalid) expression for the default argument. unsigned DefaultArgKind : 2; diff --git a/lib/Sema/SemaChecking.cpp b/lib/Sema/SemaChecking.cpp index f5dd9b68a694c49ccb62016080b76a5d2b3f682b..d2bec39092d996cbdd6793fd320182cabdbfac34 100644 --- a/lib/Sema/SemaChecking.cpp +++ b/lib/Sema/SemaChecking.cpp @@ -7453,7 +7453,7 @@ CheckReturnStackAddr(Sema &S, Expr *RetValExp, QualType lhsType, if (!stackE) return; // Nothing suspicious was found. - // Parameters are initalized in the calling scope, so taking the address + // Parameters are initialized in the calling scope, so taking the address // of a parameter reference doesn't need a warning. for (auto *DRE : refVars) if (isa<ParmVarDecl>(DRE->getDecl()))