Errors in Documentation

Hi,

There are minor errors in the revised documentation on writing an llvm pass.

In Quick Start – Writing Hello World section and in basic code required section,

The following should be changed from

    Hello() : FunctionPass(&ID) {}

to 
     Hello() : FunctionPass(ID) {}

Similarly in the whole .cpp file

Santosh

Hi Santosh,

There are minor errors in the revised documentation on writing an llvm pass.

In Quick Start -- Writing Hello World section and in basic code required section,

The following should be changed from

     Hello() : FunctionPass(&ID) {}

to
      Hello() : FunctionPass(ID) {}

Similarly in the whole .cpp file

thanks for pointing this out. Can you please send an appropriate patch.

Best wishes,

Duncan.