diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2007-10-04 00:45:27 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2007-10-04 00:45:27 +0000 |
| commit | 673414067b90ac327994371904b4e273742e0d05 (patch) | |
| tree | 559990d3d96d184b2e03a3d656336a9b9bc8bd54 /clang/AST/Decl.cpp | |
| parent | c9cd8a185d5d261456ec3fd27e5fd91f8792f0ba (diff) | |
| download | bcm5719-llvm-673414067b90ac327994371904b4e273742e0d05.tar.gz bcm5719-llvm-673414067b90ac327994371904b4e273742e0d05.zip | |
Fixed tabs in couple of sources.
llvm-svn: 42601
Diffstat (limited to 'clang/AST/Decl.cpp')
| -rw-r--r-- | clang/AST/Decl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/AST/Decl.cpp b/clang/AST/Decl.cpp index 8c9638c5c94..e8b57d46a96 100644 --- a/clang/AST/Decl.cpp +++ b/clang/AST/Decl.cpp @@ -76,7 +76,7 @@ const char *Decl::getDeclKindName() const { bool Decl::CollectingStats(bool enable) { if (enable) StatSwitch = true; - return StatSwitch; + return StatSwitch; } void Decl::PrintStats() { @@ -263,7 +263,7 @@ void RecordDecl::defineBody(FieldDecl **members, unsigned numMembers) { FieldDecl* RecordDecl::getMember(IdentifierInfo *name) { if (Members == 0 || NumMembers < 0) return 0; - + // linear search. When C++ classes come along, will likely need to revisit. for (int i = 0; i < NumMembers; ++i) { if (Members[i]->getIdentifier() == name) @@ -305,7 +305,7 @@ void ObjcInterfaceDecl::ObjcAddInstanceVariablesToClass(ObjcIvarDecl **ivars, /// Ivars into ObjcImplementationDecl's fields. /// void ObjcImplementationDecl::ObjcAddInstanceVariablesToClassImpl( - ObjcIvarDecl **ivars, unsigned numIvars) { + ObjcIvarDecl **ivars, unsigned numIvars) { NumIvars = numIvars; if (numIvars) { Ivars = new ObjcIvarDecl*[numIvars]; |

