[LLVMdev] RFC: Patch

Bill Wendling isanbard at gmail.com
Sat Sep 22 00:47:25 PDT 2007


On Sep 21, 2007, at 11:50 PM, Duncan Sands wrote:

> Hi Bill, why not just add "true" to the getGlobalVariable call?
>
>   GlobalVariable *getGlobalVariable(const std::string &Name,
>                                     bool AllowInternal = false) const;
>
That would work too. The getNamedVariable() is just a wrapper to  
getGlobalVariable() but passing "true" in. :-)

-bw




More information about the llvm-dev mailing list