diff options
-rw-r--r-- | llvm/tools/llvmc2/Action.cpp | 2 | ||||
-rw-r--r-- | llvm/tools/llvmc2/Action.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvmc2/Action.cpp b/llvm/tools/llvmc2/Action.cpp index 82a1e0c4c96..8d34910286a 100644 --- a/llvm/tools/llvmc2/Action.cpp +++ b/llvm/tools/llvmc2/Action.cpp @@ -48,7 +48,7 @@ namespace { } } -int llvmcc::Action::Execute() { +int llvmcc::Action::Execute() const { if (VerboseMode) { std::cerr << Command_ << " "; std::for_each(Args_.begin(), Args_.end(), print_string); diff --git a/llvm/tools/llvmc2/Action.h b/llvm/tools/llvmc2/Action.h index 43495c463aa..3f7b33bbc71 100644 --- a/llvm/tools/llvmc2/Action.h +++ b/llvm/tools/llvmc2/Action.h @@ -28,7 +28,7 @@ namespace llvmcc { : Command_(C), Args_(A) {} - int Execute(); + int Execute() const; }; } |