[LLVMdev] LLVM namespac'ification

Chris Lattner sabre at nondot.org
Sun Nov 9 22:50:01 PST 2003


On Sun, 9 Nov 2003, Reid Spencer wrote:

> level and put it in llvm.  This means that in your programs, you
> wouldn't use:
> cl::XYZ
> anymore but:
> llvm::cl::XYZ.
> Or, you can use a "using namespace llvm" to retain backwards
> compatibility.

Note that the LLVM sourcebase itself won't use llvm:: - it will use a
'using namespace llvm;' in all .cpp files, to avoid uglification.

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/




More information about the llvm-dev mailing list