[cfe-commits] r111729 - /cfe/trunk/lib/Frontend/InitPreprocessor.cpp
Michael Spencer
bigcheesegs at gmail.com
Sat Aug 21 07:33:25 PDT 2010
On Sat, Aug 21, 2010 at 5:23 AM, Cameron Esfahani <dirty at apple.com> wrote:
> Aren't there other typos in that line?
>
> The name __cplusplus is defined to the value 199711L when compiling a
>
> instead of
>
> The name_ _cplusplusis defined to the value 199711L when compiling a
Oh wow, dunno how I missed that. Thanks.
- Michael Spencer
> On Aug 20, 2010, at 11:05 PM, Michael J. Spencer wrote:
>
>> Author: mspencer
>> Date: Sat Aug 21 01:05:06 2010
>> New Revision: 111729
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=111729&view=rev
>> Log:
>> Fix typo in comment.
>>
>> Modified:
>> cfe/trunk/lib/Frontend/InitPreprocessor.cpp
>>
>> Modified: cfe/trunk/lib/Frontend/InitPreprocessor.cpp
>> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/InitPreprocessor.cpp?rev=111729&r1=111728&r2=111729&view=diff
>> ==============================================================================
>> --- cfe/trunk/lib/Frontend/InitPreprocessor.cpp (original)
>> +++ cfe/trunk/lib/Frontend/InitPreprocessor.cpp Sat Aug 21 01:05:06 2010
>> @@ -319,7 +319,7 @@
>> Builder.defineMacro("__cplusplus");
>> else
>> // C++ [cpp.predefined]p1:
>> - // The name_ _cplusplusis defined to the value199711Lwhen compiling a
>> + // The name_ _cplusplusis defined to the value 199711L when compiling a
>> // C++ translation unit.
>> Builder.defineMacro("__cplusplus", "199711L");
>> Builder.defineMacro("__private_extern__", "extern");
>>
>>
>> _______________________________________________
>> cfe-commits mailing list
>> cfe-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
> Cameron Esfahani
> dirty at apple.com
>
> "Most people are bad programmers," says Joy. "The honest truth is that having a lot of people staring at the code does not find the really nasty bugs. The really nasty bugs are found by a couple of really smart people who just kill themselves. Most people looking at the code won't see anything ... You can't have thousands of people contributing and achieve a high standard."
>
> Bill Joy on the myth of Linux's much touted "power in the masses" development benefits.
>
>
>
More information about the cfe-commits
mailing list