diff options
-rw-r--r-- | lib/Sema/SemaDeclAttr.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Sema/SemaDeclAttr.cpp b/lib/Sema/SemaDeclAttr.cpp index 05b141b245..3c4bd8ffc4 100644 --- a/lib/Sema/SemaDeclAttr.cpp +++ b/lib/Sema/SemaDeclAttr.cpp @@ -1414,8 +1414,6 @@ static void HandleCleanupAttr(Decl *d, const AttributeList &Attr, Sema &S) { // Look up the function // FIXME: Lookup probably isn't looking in the right place - // FIXME: The lookup source location should be in the attribute, not the - // start of the attribute. NamedDecl *CleanupDecl = S.LookupSingleName(S.TUScope, Attr.getParameterName(), Attr.getParameterLoc(), Sema::LookupOrdinaryName); |