summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-07-10 18:25:52 +0000
committerEric Christopher <echristo@gmail.com>2015-07-10 18:25:52 +0000
commite6b7cf478751ba4ffafed50163d9d3e0e0981fd0 (patch)
treef01b938df2b40389f7b7b83f4b2fe754e985463b /clang/lib
parent5ca0baca4a3b03eb5d8a2303bd0fb67b9d19bef7 (diff)
downloadbcm5719-llvm-e6b7cf478751ba4ffafed50163d9d3e0e0981fd0.tar.gz
bcm5719-llvm-e6b7cf478751ba4ffafed50163d9d3e0e0981fd0.zip
Fix a couple of typos: specifc->specific.
llvm-svn: 241924
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Basic/Targets.cpp2
-rw-r--r--clang/lib/Sema/SemaExceptionSpec.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp
index 2a4242b2ff8..c5bf90fa784 100644
--- a/clang/lib/Basic/Targets.cpp
+++ b/clang/lib/Basic/Targets.cpp
@@ -1519,7 +1519,7 @@ public:
BuiltinVaListKind getBuiltinVaListKind() const override {
return TargetInfo::CharPtrBuiltinVaList;
}
- // PPC64 Linux-specifc ABI options.
+ // PPC64 Linux-specific ABI options.
bool setABI(const std::string &Name) override {
if (Name == "elfv1" || Name == "elfv1-qpx" || Name == "elfv2") {
ABI = Name;
diff --git a/clang/lib/Sema/SemaExceptionSpec.cpp b/clang/lib/Sema/SemaExceptionSpec.cpp
index 2e3e63e00a3..094187025df 100644
--- a/clang/lib/Sema/SemaExceptionSpec.cpp
+++ b/clang/lib/Sema/SemaExceptionSpec.cpp
@@ -397,7 +397,7 @@ bool Sema::CheckEquivalentExceptionSpec(const PartialDiagnostic &DiagID,
// - both are dynamic-exception-specifications that have the same set of
// adjusted types.
//
- // C++0x [except.spec]p12: An exception-specifcation is non-throwing if it is
+ // C++0x [except.spec]p12: An exception-specification is non-throwing if it is
// of the form throw(), noexcept, or noexcept(constant-expression) where the
// constant-expression yields true.
//
OpenPOWER on IntegriCloud