Author: sylvestre Date: Tue Feb 6 05:12:29 2018 New Revision: 324342 URL: http://llvm.org/viewvc/llvm-project?rev=324342&view=rev Log: Unittests misc. typos
By luz.paz Modified: cfe/trunk/unittests/Format/CleanupTest.cpp cfe/trunk/unittests/Rename/RenameMemberTest.cpp cfe/trunk/unittests/StaticAnalyzer/AnalyzerOptionsTest.cpp cfe/trunk/unittests/Tooling/RefactoringActionRulesTest.cpp Modified: cfe/trunk/unittests/Format/CleanupTest.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Format/CleanupTest.cpp?rev=324342&r1=324341&r2=324342&view=diff ============================================================================== --- cfe/trunk/unittests/Format/CleanupTest.cpp (original) +++ cfe/trunk/unittests/Format/CleanupTest.cpp Tue Feb 6 05:12:29 2018 @@ -496,7 +496,7 @@ TEST_F(CleanUpReplacementsTest, InsertNe "#include \"y/a.h\"\n" "#include \"z/b.h\"\n"; // FIXME: inserting after the empty line following the main header might be - // prefered. + // preferred. std::string Expected = "#include \"x/fix.h\"\n" "#include <vector>\n" "\n" Modified: cfe/trunk/unittests/Rename/RenameMemberTest.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Rename/RenameMemberTest.cpp?rev=324342&r1=324341&r2=324342&view=diff ============================================================================== --- cfe/trunk/unittests/Rename/RenameMemberTest.cpp (original) +++ cfe/trunk/unittests/Rename/RenameMemberTest.cpp Tue Feb 6 05:12:29 2018 @@ -139,7 +139,7 @@ INSTANTIATE_TEST_CASE_P( "void f() { auto p = &ns::C::SBar<int>; }", "ns::C::SFoo", "ns::C::SBar"}, - // These methods are not declared or overrided in the subclass B, we + // These methods are not declared or overridden in the subclass B, we // have to use the qualified name with parent class A to identify them. {"void f() { auto p = &ns::B::Foo; }", "void f() { auto p = &ns::B::Bar; }", "ns::A::Foo", "ns::B::Bar"}, Modified: cfe/trunk/unittests/StaticAnalyzer/AnalyzerOptionsTest.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/StaticAnalyzer/AnalyzerOptionsTest.cpp?rev=324342&r1=324341&r2=324342&view=diff ============================================================================== --- cfe/trunk/unittests/StaticAnalyzer/AnalyzerOptionsTest.cpp (original) +++ cfe/trunk/unittests/StaticAnalyzer/AnalyzerOptionsTest.cpp Tue Feb 6 05:12:29 2018 @@ -53,9 +53,9 @@ TEST(StaticAnalyzerOptions, SearchInPare // search mode. CheckerOneMock CheckerOne; EXPECT_TRUE(Opts.getBooleanOption("Option", false, &CheckerOne)); - // The package option is overriden with a checker option. + // The package option is overridden with a checker option. EXPECT_TRUE(Opts.getBooleanOption("Option", false, &CheckerOne, true)); - // The Outer package option is overriden by the Inner package option. No + // The Outer package option is overridden by the Inner package option. No // package option is specified. EXPECT_TRUE(Opts.getBooleanOption("Option2", false, &CheckerOne, true)); // No package option is specified and search in packages is turned off. The Modified: cfe/trunk/unittests/Tooling/RefactoringActionRulesTest.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Tooling/RefactoringActionRulesTest.cpp?rev=324342&r1=324341&r2=324342&view=diff ============================================================================== --- cfe/trunk/unittests/Tooling/RefactoringActionRulesTest.cpp (original) +++ cfe/trunk/unittests/Tooling/RefactoringActionRulesTest.cpp Tue Feb 6 05:12:29 2018 @@ -97,7 +97,7 @@ TEST_F(RefactoringActionRulesTest, MyFir auto Rule = createRefactoringActionRule<ReplaceAWithB>(SelectionRequirement()); - // When the requirements are satisifed, the rule's function must be invoked. + // When the requirements are satisfied, the rule's function must be invoked. { RefactoringRuleContext RefContext(Context.Sources); SourceLocation Cursor = _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits