Author: efriedma
Date: Fri Feb 10 18:18:00 2012
New Revision: 150284

URL: http://llvm.org/viewvc/llvm-project?rev=150284&view=rev
Log:
const-qualify CXXRecordDecl::getCaptureFields.


Modified:
    cfe/trunk/include/clang/AST/DeclCXX.h
    cfe/trunk/lib/AST/DeclCXX.cpp

Modified: cfe/trunk/include/clang/AST/DeclCXX.h
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/DeclCXX.h?rev=150284&r1=150283&r2=150284&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/DeclCXX.h (original)
+++ cfe/trunk/include/clang/AST/DeclCXX.h Fri Feb 10 18:18:00 2012
@@ -943,7 +943,7 @@
   /// \param ThisCapture Will be set to the field declaration for the
   /// 'this' capture.
   void getCaptureFields(llvm::DenseMap<const VarDecl *, FieldDecl *> &Captures,
-                        FieldDecl *&ThisCapture);
+                        FieldDecl *&ThisCapture) const;
 
   /// getConversions - Retrieve the overload set containing all of the
   /// conversion functions in this class.

Modified: cfe/trunk/lib/AST/DeclCXX.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/DeclCXX.cpp?rev=150284&r1=150283&r2=150284&view=diff
==============================================================================
--- cfe/trunk/lib/AST/DeclCXX.cpp (original)
+++ cfe/trunk/lib/AST/DeclCXX.cpp Fri Feb 10 18:18:00 2012
@@ -979,7 +979,7 @@
 
 void CXXRecordDecl::getCaptureFields(
        llvm::DenseMap<const VarDecl *, FieldDecl *> &Captures,
-       FieldDecl *&ThisCapture) {
+       FieldDecl *&ThisCapture) const {
   Captures.clear();
   ThisCapture = 0;
 


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to