[cfe-users] Parsing C++ and creating a module

2015-09-07 Thread David Kretzmer via cfe-users
Hello, I'm trying to create a C++ interpreter. Some time ago I wrote some code which, if I remember correctly, was working correctly. // Setup compiler auto context = &llvm::getGlobalContext(); clang::CompilerInstance compiler; compiler.createDiagnostics(

[cfe-users] Why doesn't clang use colors for diagnostics by default?

2015-09-07 Thread Victor via cfe-users
Hello, all. Why doesn't clang use colors for diagnostics by default? My environment: $ cat /etc/*-release Red Hat Enterprise Linux Server release 6.3 (Santiago) $ echo $TERM xterm Doc here http://clang.llvm.org/docs/UsersManual.html#formatting-of-diagnostics says: "This option, which default