[llvm] r175098 - llvm-gcc -pedantic warns about C++ comments in C90 mode even if they're
Alex Rosenberg
alexr at leftfield.org
Wed Feb 13 14:45:52 PST 2013
Author: alexr
Date: Wed Feb 13 16:45:52 2013
New Revision: 175098
URL: http://llvm.org/viewvc/llvm-project?rev=175098&view=rev
Log:
llvm-gcc -pedantic warns about C++ comments in C90 mode even if they're
inside an #if 0 block.
Modified:
llvm/trunk/include/llvm/Support/ConvertUTF.h
Modified: llvm/trunk/include/llvm/Support/ConvertUTF.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/ConvertUTF.h?rev=175098&r1=175097&r2=175098&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/ConvertUTF.h (original)
+++ llvm/trunk/include/llvm/Support/ConvertUTF.h Wed Feb 13 16:45:52 2013
@@ -219,7 +219,7 @@ static inline ConversionResult convertUT
return sourceExhausted;
return ConvertUTF8toUTF32(source, *source + size, &target, target + 1, flags);
}
-} // end namespace llvm
+} /* end namespace llvm */
#endif
More information about the llvm-commits
mailing list