summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/flang/AST/Expr.h2
-rw-r--r--include/flang/Sema/Sema.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/flang/AST/Expr.h b/include/flang/AST/Expr.h
index bd8249dac3..fd1650b00d 100644
--- a/include/flang/AST/Expr.h
+++ b/include/flang/AST/Expr.h
@@ -647,7 +647,7 @@ public:
}
};
-/// ImpliedShapeSpec - An implied-shape array is a named constant taht takes its
+/// ImpliedShapeSpec - An implied-shape array is a named constant that takes its
/// shape from the constant-expr in its declaration.
///
/// [R522]:
diff --git a/include/flang/Sema/Sema.h b/include/flang/Sema/Sema.h
index 75262a4a4d..8bd23cbe1c 100644
--- a/include/flang/Sema/Sema.h
+++ b/include/flang/Sema/Sema.h
@@ -42,7 +42,7 @@ class IdentifierInfo;
class Token;
class VarDecl;
-/// Sema - This implements semantic analysis and AST buiding for Fortran.
+/// Sema - This implements semantic analysis and AST building for Fortran.
class Sema {
Sema(const Sema&); // DO NOT IMPLEMENT
void operator=(const Sema&); // DO NOT IMPLEMENT