Browse Source

[clang][NFC] Fix misspellings in ExternalASTMerger.h

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@373577 91177308-0d34-0410-b5e6-96231b3b80d8
Raphael Isemann 5 years ago
parent
commit
5fb4ff5344
1 changed files with 4 additions and 4 deletions
  1. 4 4
      include/clang/AST/ExternalASTMerger.h

+ 4 - 4
include/clang/AST/ExternalASTMerger.h

@@ -23,7 +23,7 @@ namespace clang {
 /// ExternalASTSource implementation that merges information from several
 /// ExternalASTSource implementation that merges information from several
 /// ASTContexts.
 /// ASTContexts.
 ///
 ///
-/// ExtermalASTMerger maintains a vector of ASTImporters that it uses to import
+/// ExternalASTMerger maintains a vector of ASTImporters that it uses to import
 /// (potentially incomplete) Decls and DeclContexts from the source ASTContexts
 /// (potentially incomplete) Decls and DeclContexts from the source ASTContexts
 /// in response to ExternalASTSource API calls.
 /// in response to ExternalASTSource API calls.
 ///
 ///
@@ -37,7 +37,7 @@ namespace clang {
 ///   lookup.  In this case, Origins contains an entry overriding lookup and
 ///   lookup.  In this case, Origins contains an entry overriding lookup and
 ///   specifying the correct pair of DeclContext/ASTContext.
 ///   specifying the correct pair of DeclContext/ASTContext.
 ///
 ///
-/// - The DeclContext of origin was determined by another ExterenalASTMerger.
+/// - The DeclContext of origin was determined by another ExternalASTMerger.
 ///   (This is possible when the source ASTContext for one of the Importers has
 ///   (This is possible when the source ASTContext for one of the Importers has
 ///   its own ExternalASTMerger).  The origin must be properly forwarded in this
 ///   its own ExternalASTMerger).  The origin must be properly forwarded in this
 ///   case.
 ///   case.
@@ -94,7 +94,7 @@ public:
   };
   };
 
 
 private:
 private:
-  /// The target for this ExtenralASTMerger.
+  /// The target for this ExternalASTMerger.
   ImporterTarget Target;
   ImporterTarget Target;
   /// ExternalASTMerger has multiple ASTImporters that import into the same
   /// ExternalASTMerger has multiple ASTImporters that import into the same
   /// TU. This is the shared state for all ASTImporters of this
   /// TU. This is the shared state for all ASTImporters of this
@@ -158,7 +158,7 @@ public:
   /// OriginContext.
   /// OriginContext.
   bool HasImporterForOrigin(ASTContext &OriginContext);
   bool HasImporterForOrigin(ASTContext &OriginContext);
 
 
-  /// Returns a reference to the ASTRImporter from Importers whose origin
+  /// Returns a reference to the ASTImporter from Importers whose origin
   /// is OriginContext.  This allows manual import of ASTs while preserving the
   /// is OriginContext.  This allows manual import of ASTs while preserving the
   /// OriginMap correctly.
   /// OriginMap correctly.
   ASTImporter &ImporterForOrigin(ASTContext &OriginContext);
   ASTImporter &ImporterForOrigin(ASTContext &OriginContext);