diff --git a/clang/include/clang/AST/ASTImporterLookupTable.h b/clang/include/clang/AST/ASTImporterLookupTable.h --- a/clang/include/clang/AST/ASTImporterLookupTable.h +++ b/clang/include/clang/AST/ASTImporterLookupTable.h @@ -34,7 +34,7 @@ // Example 2: // // The fwd decl to Foo is not found in the lookupPtr of the DC of the // // translation unit decl. -// // Here we could find the node by doing a traverse throught the list of +// // Here we could find the node by doing a traverse throughout the list of // // the Decls in the DC, but that would not scale. // struct A { struct Foo *p; }; // This is a severe problem because the importer decides if it has to create a diff --git a/clang/test/Sema/alloc-align-attr.c b/clang/test/Sema/alloc-align-attr.c --- a/clang/test/Sema/alloc-align-attr.c +++ b/clang/test/Sema/alloc-align-attr.c @@ -17,7 +17,7 @@ void *test_no_fn_proto(int x, int y) __attribute__((alloc_align())); // expected-error {{'alloc_align' attribute takes one argument}} void *test_no_fn_proto(int x, int y) __attribute__((alloc_align(32, 45, 37))); // expected-error {{'alloc_align' attribute takes one argument}} -void *passthrought(int a) { +void *passthrough(int a) { return test_ptr_alloc_align(a); } void *align16(void) {