]> granicus.if.org Git - clang/commitdiff
Fix two typos in comments.
authorSebastian Redl <sebastian.redl@getdesigned.at>
Wed, 9 Jun 2010 21:17:41 +0000 (21:17 +0000)
committerSebastian Redl <sebastian.redl@getdesigned.at>
Wed, 9 Jun 2010 21:17:41 +0000 (21:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105751 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/CodeGen/CodeGenOptions.h
lib/Sema/SemaDecl.cpp

index 6474acad02523c09a657deb6cea0505098ba5cff..e1c409b62d91c8208afdaf1aad3947fce3506bb9 100644 (file)
@@ -39,7 +39,7 @@ public:
   unsigned CXXCtorDtorAliases: 1; /// Emit complete ctors/dtors as linker
                                   /// aliases to base ctors when possible.
   unsigned DataSections      : 1; /// Set when -fdata-sections is enabled
-  unsigned DebugInfo         : 1; /// Should generate deubg info (-g).
+  unsigned DebugInfo         : 1; /// Should generate debug info (-g).
   unsigned DisableFPElim     : 1; /// Set when -fomit-frame-pointer is enabled.
   unsigned DisableLLVMOpts   : 1; /// Don't run any optimizations, for use in
                                   /// getting .bc files that correspond to the
index 249cbef38a1fd50720ffa706244e55dd652772c7..1a8f7aa481cfa6577059af9b950588588cab0664 100644 (file)
@@ -959,7 +959,7 @@ Sema::CXXSpecialMember Sema::getSpecialMember(const CXXMethodDecl *MD) {
   return Sema::CXXCopyAssignment;
 }
 
-/// canREdefineFunction - checks if a function can be redefined. Currently,
+/// canRedefineFunction - checks if a function can be redefined. Currently,
 /// only extern inline functions can be redefined, and even then only in
 /// GNU89 mode.
 static bool canRedefineFunction(const FunctionDecl *FD,