[llvm-commits] [llvm] r81117 - /llvm/trunk/include/llvm/Support/FormattedStream.h
Duncan Sands
baldrick at free.fr
Sun Sep 6 06:10:36 PDT 2009
Author: baldrick
Date: Sun Sep 6 08:10:36 2009
New Revision: 81117
URL: http://llvm.org/viewvc/llvm-project?rev=81117&view=rev
Log:
Change "const static" to "static const", as warned about
by icc (#82). Patch by Erick Tryzelaar.
Modified:
llvm/trunk/include/llvm/Support/FormattedStream.h
Modified: llvm/trunk/include/llvm/Support/FormattedStream.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/FormattedStream.h?rev=81117&r1=81116&r2=81117&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/FormattedStream.h (original)
+++ llvm/trunk/include/llvm/Support/FormattedStream.h Sun Sep 6 08:10:36 2009
@@ -26,12 +26,12 @@
public:
/// DELETE_STREAM - Tell the destructor to delete the held stream.
///
- const static bool DELETE_STREAM = true;
+ static const bool DELETE_STREAM = true;
/// PRESERVE_STREAM - Tell the destructor to not delete the held
/// stream.
///
- const static bool PRESERVE_STREAM = false;
+ static const bool PRESERVE_STREAM = false;
private:
/// TheStream - The real stream we output to. We set it to be
More information about the llvm-commits
mailing list