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 | e2010ee042f3a370b15fda7872b86c914ffad4d2 (patch) | |
tree | 654094ce3f34adeca4cf0be5e5dc0c670ae66958 /lib/Sema/DeclSpec.cpp | |
parent | 93a8534090a6de23d655679205b974032d092a89 (diff) |
Inline a trivial clear() method.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157114 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/DeclSpec.cpp')
-rw-r--r-- | lib/Sema/DeclSpec.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/Sema/DeclSpec.cpp b/lib/Sema/DeclSpec.cpp index b531accf86..8ea72ca79c 100644 --- a/lib/Sema/DeclSpec.cpp +++ b/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]) { |