diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-05-19 14:28:31 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-05-19 14:28:31 +0000 |
commit | 9012a09b1ce3a3c29ad181f04c265ee2a0a03695 (patch) | |
tree | 81d12cac1f436233f498d5fee7ecb0faadbe339b /clang/lib/Sema/DeclSpec.cpp | |
parent | f928534ef295357074979efc3f2c4348331d757e (diff) | |
download | bcm5719-llvm-9012a09b1ce3a3c29ad181f04c265ee2a0a03695.tar.gz bcm5719-llvm-9012a09b1ce3a3c29ad181f04c265ee2a0a03695.zip |
Inline a trivial clear() method.
llvm-svn: 157114
Diffstat (limited to 'clang/lib/Sema/DeclSpec.cpp')
-rw-r--r-- | clang/lib/Sema/DeclSpec.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/clang/lib/Sema/DeclSpec.cpp b/clang/lib/Sema/DeclSpec.cpp index b531accf868..8ea72ca79ce 100644 --- a/clang/lib/Sema/DeclSpec.cpp +++ b/clang/lib/Sema/DeclSpec.cpp @@ -935,13 +935,6 @@ bool DeclSpec::isMissingDeclaratorOk() { StorageClassSpec != DeclSpec::SCS_typedef; } -void UnqualifiedId::clear() { - Kind = IK_Identifier; - Identifier = 0; - StartLocation = SourceLocation(); - EndLocation = SourceLocation(); -} - void UnqualifiedId::setOperatorFunctionId(SourceLocation OperatorLoc, OverloadedOperatorKind Op, SourceLocation SymbolLocations[3]) { |