summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorSebastian Redl <sebastian.redl@getdesigned.at>2010-06-09 21:17:41 +0000
committerSebastian Redl <sebastian.redl@getdesigned.at>2010-06-09 21:17:41 +0000
commit243d9057d098a76becc5636b20d8b6f685389966 (patch)
tree844f29ee348e6ed35089e14b0f3235afdfa92a43 /clang
parentd53a2cb4acf23c013ecae6ce30a42cde0ab5bacc (diff)
downloadbcm5719-llvm-243d9057d098a76becc5636b20d8b6f685389966.tar.gz
bcm5719-llvm-243d9057d098a76becc5636b20d8b6f685389966.zip
Fix two typos in comments.
llvm-svn: 105751
Diffstat (limited to 'clang')
-rw-r--r--clang/include/clang/CodeGen/CodeGenOptions.h2
-rw-r--r--clang/lib/Sema/SemaDecl.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/include/clang/CodeGen/CodeGenOptions.h b/clang/include/clang/CodeGen/CodeGenOptions.h
index 6474acad025..e1c409b62d9 100644
--- a/clang/include/clang/CodeGen/CodeGenOptions.h
+++ b/clang/include/clang/CodeGen/CodeGenOptions.h
@@ -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
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp
index 249cbef38a1..1a8f7aa481c 100644
--- a/clang/lib/Sema/SemaDecl.cpp
+++ b/clang/lib/Sema/SemaDecl.cpp
@@ -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,
OpenPOWER on IntegriCloud