Dear All:
I want to look into the type checking process in the clang. Can any body guide me where to start?
Thanks in advance.
Dear All:
I want to look into the type checking process in the clang. Can any body guide me where to start?
Thanks in advance.
The Sema object, whose code is in lib/Sema/*, contains the vast majority of Clang's type-checking logic. I suggest picking some simple language construct and looking at how it is handled in Sema.
- Doug
Dear All:
I want to look into the type checking process in the clang. Can any body guide me where to start?
The Sema object, whose code is in lib/Sema/*, contains the vast majority of Clang's type-checking logic. I suggest picking some simple language construct and looking at how it is handled in Sema.
Right. I normally do an assignment which causes error. Then set breakpoint at clang::Sema::Diag and
go from there backwards.
- fariborz