]> granicus.if.org Git - clang/commitdiff
Fix a couple of typos: specifc->specific.
authorEric Christopher <echristo@gmail.com>
Fri, 10 Jul 2015 18:25:52 +0000 (18:25 +0000)
committerEric Christopher <echristo@gmail.com>
Fri, 10 Jul 2015 18:25:52 +0000 (18:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241924 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/Targets.cpp
lib/Sema/SemaExceptionSpec.cpp

index 2a4242b2ff8c3e927aff5ca41fdaecf8aa44023d..c5bf90fa784a8db3d03efec432b814aca7e4d16a 100644 (file)
@@ -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;
index 2e3e63e00a32f15a2ff0b18ecef13bd856bd8318..094187025df0b361380b74863ddd80628baf1a13 100644 (file)
@@ -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.
   //