[llvm-commits] [llvm] r50723 - in /llvm/trunk/tools/llvmc2: Action.cpp Action.h
Mikhail Glushenkov
foldr at codedgers.com
Tue May 6 09:34:39 PDT 2008
Author: foldr
Date: Tue May 6 11:34:39 2008
New Revision: 50723
URL: http://llvm.org/viewvc/llvm-project?rev=50723&view=rev
Log:
Small const-correctness fix
Modified:
llvm/trunk/tools/llvmc2/Action.cpp
llvm/trunk/tools/llvmc2/Action.h
Modified: llvm/trunk/tools/llvmc2/Action.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvmc2/Action.cpp?rev=50723&r1=50722&r2=50723&view=diff
==============================================================================
--- llvm/trunk/tools/llvmc2/Action.cpp (original)
+++ llvm/trunk/tools/llvmc2/Action.cpp Tue May 6 11:34:39 2008
@@ -48,7 +48,7 @@
}
}
-int llvmcc::Action::Execute() {
+int llvmcc::Action::Execute() const {
if (VerboseMode) {
std::cerr << Command_ << " ";
std::for_each(Args_.begin(), Args_.end(), print_string);
Modified: llvm/trunk/tools/llvmc2/Action.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvmc2/Action.h?rev=50723&r1=50722&r2=50723&view=diff
==============================================================================
--- llvm/trunk/tools/llvmc2/Action.h (original)
+++ llvm/trunk/tools/llvmc2/Action.h Tue May 6 11:34:39 2008
@@ -28,7 +28,7 @@
: Command_(C), Args_(A)
{}
- int Execute();
+ int Execute() const;
};
}
More information about the llvm-commits
mailing list