[cfe-commits] r122365 - /cfe/trunk/lib/Sema/TreeTransform.h
Douglas Gregor
dgregor at apple.com
Tue Dec 21 13:51:48 PST 2010
Author: dgregor
Date: Tue Dec 21 15:51:48 2010
New Revision: 122365
URL: http://llvm.org/viewvc/llvm-project?rev=122365&view=rev
Log:
Add some const qualifiers
Modified:
cfe/trunk/lib/Sema/TreeTransform.h
Modified: cfe/trunk/lib/Sema/TreeTransform.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/TreeTransform.h?rev=122365&r1=122364&r2=122365&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/TreeTransform.h (original)
+++ cfe/trunk/lib/Sema/TreeTransform.h Tue Dec 21 15:51:48 2010
@@ -3628,12 +3628,12 @@
}
friend bool operator==(const TemplateArgumentLocContainerIterator &X,
- TemplateArgumentLocContainerIterator &Y) {
+ const TemplateArgumentLocContainerIterator &Y) {
return X.Container == Y.Container && X.Index == Y.Index;
}
friend bool operator!=(const TemplateArgumentLocContainerIterator &X,
- TemplateArgumentLocContainerIterator &Y) {
+ const TemplateArgumentLocContainerIterator &Y) {
return !(X == Y);
}
};
More information about the cfe-commits
mailing list