From: Sam Weinig Date: Sun, 6 Dec 2009 23:57:56 +0000 (+0000) Subject: Remove a now out of date and out of place comment about predefined exprs from the... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=19a9edb5dd7ab2c63249b28f45f16781a5577874;p=clang Remove a now out of date and out of place comment about predefined exprs from the FloatingLiteral class declaration. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90726 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/Expr.h b/include/clang/AST/Expr.h index f41f8cf65c..220ae137c7 100644 --- a/include/clang/AST/Expr.h +++ b/include/clang/AST/Expr.h @@ -686,11 +686,6 @@ public: SourceLocation getLocation() const { return Loc; } void setLocation(SourceLocation L) { Loc = L; } - // FIXME: The logic for computing the value of a predefined expr should go - // into a method here that takes the inner-most code decl (a block, function - // or objc method) that the expr lives in. This would allow sema and codegen - // to be consistent for things like sizeof(__func__) etc. - virtual SourceRange getSourceRange() const { return SourceRange(Loc); } static bool classof(const Stmt *T) {