[cfe-dev] Advice for front-end design?

Joachim Durchholz via cfe-dev cfe-dev at lists.llvm.org
Sun Sep 20 15:02:04 PDT 2015

Am 19.09.2015 um 01:34 schrieb Russell Wallace via cfe-dev:
> The clang way of reporting error messages is nice from the user's
> perspective, and probably worth trying to pick up. Not sure how to do that
> yet but http://clang.llvm.org/doxygen/classclang_1_1SourceLocation.html
> seems potentially relevant.

Just for the record: SourceLocation.cpp assumes C/C++ conventions 
already, it keeps a stack of include files and knows about whether 
something is a FileID or a MacroID.
Not sure about implications of that observation, except that I won't 
need that.


More information about the cfe-dev mailing list