aboutsummaryrefslogtreecommitdiff
path: root/include/clang
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-06-23 00:42:15 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-06-23 00:42:15 +0000
commitcb5f8f59322c352f51714c3de5d8047e70895165 (patch)
tree155209be6d4ce22b283460bbad7771cd29681919 /include/clang
parentea703f1218971511181765c37073c03e1437c5cc (diff)
Don't use operator overload '<' for SourceLocation, it has not semantic meaning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73932 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang')
-rw-r--r--include/clang/AST/Decl.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/clang/AST/Decl.h b/include/clang/AST/Decl.h
index cfb8f940ab..f594db27bc 100644
--- a/include/clang/AST/Decl.h
+++ b/include/clang/AST/Decl.h
@@ -694,7 +694,6 @@ public:
return SourceRange(getLocation(), EndRangeLoc);
}
void setLocEnd(SourceLocation E) {
- assert(getLocation() <= E && "Invalid end location");
EndRangeLoc = E;
}