[cfe-dev] Constness of argv for CompilerInvocation / ArgList / OptTable, Re: constness of argv in CompilerInstance

Axel Naumann Axel.Naumann at cern.ch
Wed Sep 22 02:42:28 PDT 2010


Hi,

and if you want: spread the constness joy to CompilerInvocation +
ArgList + OptTable. Patch does not include changes to CompilerInstance
from my previous email (because it's an optional, additional change).

Cheers, Axel.

Axel Naumann wrote on 09/22/2010 11:19 AM:
> Hi,
> 
> can the constness screw on CompilerInstance's argv be tightened up a
> bit, like in the attached patch? It would allow us to use fake argv
> string literals to talk to the CompilerInstance, and it signals that
> CompilerInstance is not modifying argv.
> 
> Let me know if it's okay to commit (if I still have checkin permissions,
> that is...)
> 
> Cheers, Axel.
> 
> 
> 
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CompilerInvocation_Argv_const.diff
Type: text/x-patch
Size: 4047 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100922/25d6745f/attachment.bin>


More information about the cfe-dev mailing list