Reapply commit b7425e956

The commit b7425e956: [NFC] fix typos
is harmless but was reverted by accident. Reapply.
This commit is contained in:
Rong Xu 2021-08-16 12:16:43 -07:00
parent b9e433b02a
commit 9b8425e42c
5 changed files with 6 additions and 6 deletions

View File

@ -6,7 +6,7 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
// //
// This file defines a CheckObjCInstMethSignature, a flow-insenstive check // This file defines a CheckObjCInstMethSignature, a flow-insensitive check
// that determines if an Objective-C class interface incorrectly redefines // that determines if an Objective-C class interface incorrectly redefines
// the method signature in a subclass. // the method signature in a subclass.
// //

View File

@ -6,7 +6,7 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
// //
// This file defines a CheckNSError, a flow-insenstive check // This file defines a CheckNSError, a flow-insensitive check
// that determines if an Objective-C class interface correctly returns // that determines if an Objective-C class interface correctly returns
// a non-void return type. // a non-void return type.
// //

View File

@ -8,7 +8,7 @@
// RUN: %clang_profgen=%t.profraw -o %t.gen.cis -O2 %s // RUN: %clang_profgen=%t.profraw -o %t.gen.cis -O2 %s
// RUN: %run %t.gen.cis // RUN: %run %t.gen.cis
// RUN: llvm-profdata merge -o %t.cis.profdata %t.profraw // RUN: llvm-profdata merge -o %t.cis.profdata %t.profraw
// Check context insenstive profile // Check context insensitive profile
// RUN: %clang_profuse=%t.cis.profdata -O2 -emit-llvm -S %s -o - | FileCheck %s --check-prefix=CIS // RUN: %clang_profuse=%t.cis.profdata -O2 -emit-llvm -S %s -o - | FileCheck %s --check-prefix=CIS
int g1 = 1; int g1 = 1;
int volatile g2 = 2; int volatile g2 = 2;

View File

@ -78,7 +78,7 @@ struct GCOVOptions {
ModulePass *createGCOVProfilerPass(const GCOVOptions &Options = ModulePass *createGCOVProfilerPass(const GCOVOptions &Options =
GCOVOptions::getDefault()); GCOVOptions::getDefault());
// PGO Instrumention. Parameter IsCS indicates if this is the context senstive // PGO Instrumention. Parameter IsCS indicates if this is the context sensitive
// instrumentation. // instrumentation.
ModulePass *createPGOInstrumentationGenLegacyPass(bool IsCS = false); ModulePass *createPGOInstrumentationGenLegacyPass(bool IsCS = false);
ModulePass * ModulePass *
@ -138,7 +138,7 @@ struct InstrProfOptions {
}; };
/// Insert frontend instrumentation based profiling. Parameter IsCS indicates if /// Insert frontend instrumentation based profiling. Parameter IsCS indicates if
// this is the context senstive instrumentation. // this is the context sensitive instrumentation.
ModulePass *createInstrProfilingLegacyPass( ModulePass *createInstrProfilingLegacyPass(
const InstrProfOptions &Options = InstrProfOptions(), bool IsCS = false); const InstrProfOptions &Options = InstrProfOptions(), bool IsCS = false);

View File

@ -53,7 +53,7 @@ using namespace sampleprof;
// For ext-binary format profiles, the flag is set in the summary. // For ext-binary format profiles, the flag is set in the summary.
static cl::opt<bool> ProfileIsFSDisciminator( static cl::opt<bool> ProfileIsFSDisciminator(
"profile-isfs", cl::Hidden, cl::init(false), "profile-isfs", cl::Hidden, cl::init(false),
cl::desc("Profile uses flow senstive discriminators")); cl::desc("Profile uses flow sensitive discriminators"));
/// Dump the function profile for \p FName. /// Dump the function profile for \p FName.
/// ///