[cfe-commits] r90726 - /cfe/trunk/include/clang/AST/Expr.h
Sam Weinig
sam.weinig at gmail.com
Sun Dec 6 15:57:57 PST 2009
Author: weinig
Date: Sun Dec 6 17:57:56 2009
New Revision: 90726
URL: http://llvm.org/viewvc/llvm-project?rev=90726&view=rev
Log:
Remove a now out of date and out of place comment about predefined exprs from the FloatingLiteral class declaration.
Modified:
cfe/trunk/include/clang/AST/Expr.h
Modified: cfe/trunk/include/clang/AST/Expr.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Expr.h?rev=90726&r1=90725&r2=90726&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Expr.h (original)
+++ cfe/trunk/include/clang/AST/Expr.h Sun Dec 6 17:57:56 2009
@@ -686,11 +686,6 @@
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) {
More information about the cfe-commits
mailing list