fix trivial typos in comments; NFC

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@307007 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Hiroshi Inoue 2017-07-03 08:49:44 +00:00
parent 58123a81df
commit ae6cb8d28c
6 changed files with 6 additions and 6 deletions

View File

@ -782,7 +782,7 @@ CursorKind.CONVERSION_FUNCTION = CursorKind(26)
# A C++ template type parameter # A C++ template type parameter
CursorKind.TEMPLATE_TYPE_PARAMETER = CursorKind(27) CursorKind.TEMPLATE_TYPE_PARAMETER = CursorKind(27)
# A C++ non-type template paramater. # A C++ non-type template parameter.
CursorKind.TEMPLATE_NON_TYPE_PARAMETER = CursorKind(28) CursorKind.TEMPLATE_NON_TYPE_PARAMETER = CursorKind(28)
# A C++ template template parameter. # A C++ template template parameter.

View File

@ -1255,7 +1255,7 @@ CodeGenFunction::GenerateBlockFunction(GlobalDecl GD,
// For OpenCL passed block pointer can be private AS local variable or // For OpenCL passed block pointer can be private AS local variable or
// global AS program scope variable (for the case with and without captures). // global AS program scope variable (for the case with and without captures).
// Generic AS is used therefore to be able to accomodate both private and // Generic AS is used therefore to be able to accommodate both private and
// generic AS in one implementation. // generic AS in one implementation.
if (getLangOpts().OpenCL) if (getLangOpts().OpenCL)
selfTy = getContext().getPointerType(getContext().getAddrSpaceQualType( selfTy = getContext().getPointerType(getContext().getAddrSpaceQualType(

View File

@ -129,7 +129,7 @@ static void addExtParameterInfosForCall(
paramInfos.resize(totalArgs); paramInfos.resize(totalArgs);
} }
/// Adds the formal paramaters in FPT to the given prefix. If any parameter in /// Adds the formal parameters in FPT to the given prefix. If any parameter in
/// FPT has pass_object_size attrs, then we'll add parameters for those, too. /// FPT has pass_object_size attrs, then we'll add parameters for those, too.
static void appendParameterTypes(const CodeGenTypes &CGT, static void appendParameterTypes(const CodeGenTypes &CGT,
SmallVectorImpl<CanQualType> &prefix, SmallVectorImpl<CanQualType> &prefix,

View File

@ -6068,7 +6068,7 @@ void RewriteModernObjC::Initialize(ASTContext &context) {
Preamble += "\n#define __OFFSETOFIVAR__(TYPE, MEMBER) ((long long) &((TYPE *)0)->MEMBER)\n"; Preamble += "\n#define __OFFSETOFIVAR__(TYPE, MEMBER) ((long long) &((TYPE *)0)->MEMBER)\n";
} }
/// RewriteIvarOffsetComputation - This rutine synthesizes computation of /// RewriteIvarOffsetComputation - This routine synthesizes computation of
/// ivar offset. /// ivar offset.
void RewriteModernObjC::RewriteIvarOffsetComputation(ObjCIvarDecl *ivar, void RewriteModernObjC::RewriteIvarOffsetComputation(ObjCIvarDecl *ivar,
std::string &Result) { std::string &Result) {

View File

@ -5052,7 +5052,7 @@ void RewriteObjCFragileABI::Initialize(ASTContext &context) {
Preamble += "\n#define __OFFSETOFIVAR__(TYPE, MEMBER) ((long long) &((TYPE *)0)->MEMBER)\n"; Preamble += "\n#define __OFFSETOFIVAR__(TYPE, MEMBER) ((long long) &((TYPE *)0)->MEMBER)\n";
} }
/// RewriteIvarOffsetComputation - This rutine synthesizes computation of /// RewriteIvarOffsetComputation - This routine synthesizes computation of
/// ivar offset. /// ivar offset.
void RewriteObjCFragileABI::RewriteIvarOffsetComputation(ObjCIvarDecl *ivar, void RewriteObjCFragileABI::RewriteIvarOffsetComputation(ObjCIvarDecl *ivar,
std::string &Result) { std::string &Result) {

View File

@ -81,7 +81,7 @@ function initExpandCollapse() {
expander.onclick = function() { expander.onclick = function() {
expandCollapse(this.id); expandCollapse(this.id);
// Hack for Opera - onmouseout callback is not invoked when page // Hack for Opera - onmouseout callback is not invoked when page
// content changes dinamically and mouse pointer goes out of an element. // content changes dynamically and mouse pointer goes out of an element.
this.src = imgPath + this.src = imgPath +
(getCellInfo(this.id).expanded ? "arrows_light.gif" (getCellInfo(this.id).expanded ? "arrows_light.gif"
: "ellipses_light.gif"); : "ellipses_light.gif");