summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2007-12-12 18:32:04 +0000
committerTed Kremenek <kremenek@apple.com>2007-12-12 18:32:04 +0000
commit23e20857010cc07bb62092e241585a97e3adee6d (patch)
treea4406455fc6e57eeff5b79d1252d50eab2589714
parent8d03cf953b48957592c67a589b2c9ff669a47356 (diff)
downloadbcm5719-llvm-23e20857010cc07bb62092e241585a97e3adee6d.tar.gz
bcm5719-llvm-23e20857010cc07bb62092e241585a97e3adee6d.zip
Renamed FullContextSourceLocation to FullSourceLoc.
llvm-svn: 44947
-rw-r--r--clang/include/clang/Basic/SourceLocation.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/include/clang/Basic/SourceLocation.h b/clang/include/clang/Basic/SourceLocation.h
index f5b1d0452d6..c46458c3668 100644
--- a/clang/include/clang/Basic/SourceLocation.h
+++ b/clang/include/clang/Basic/SourceLocation.h
@@ -201,21 +201,21 @@ public:
static SourceRange ReadVal(llvm::Deserializer& D);
};
-/// FullContextSourceLocation - A tuple containing both a SourceLocation
+/// FullSourceLoc - A tuple containing both a SourceLocation
/// and its associated SourceManager. Useful for argument passing to functions
/// that expect both objects.
-class FullContextSourceLocation {
+class FullSourceLoc {
SourceLocation Loc;
SourceManager* SrcMgr;
public:
- explicit FullContextSourceLocation(SourceLocation loc)
+ explicit FullSourceLoc(SourceLocation loc)
: Loc(loc), SrcMgr(NULL) {}
- explicit FullContextSourceLocation(SourceLocation loc, SourceManager& smgr)
+ explicit FullSourceLoc(SourceLocation loc, SourceManager& smgr)
: Loc(loc), SrcMgr(&smgr) {}
- static FullContextSourceLocation CreateInvalidLocation() {
- return FullContextSourceLocation(SourceLocation());
+ static FullSourceLoc CreateInvalidLocation() {
+ return FullSourceLoc(SourceLocation());
}
bool isValid() const { return Loc.isValid(); }
OpenPOWER on IntegriCloud