search for: defautmsg

Displaying 4 results from an estimated 4 matches for "defautmsg".

2013 Jul 22
0
[LLVMdev] [RFC] Add warning capabilities in LLVM.
...t know if DIDescriptor are the best thing to use here). ** Summary ** I am starting to think that we should be able to cover the reporting case plus some querying mechanism with something like: void reportSomehtingToFEHandler(enum Reporting Kind, bool IsAbort, <some information>, const char* DefautMsg, <pointer to a list of args to format in the defautMsg>) Where <some information> is supposed to be the class/struct/pointer to the relevant information for this kind. If it is not enough the FE should call additional APIs to get what it wants. This looks similar to the “classical” b...
2013 Jul 23
2
[LLVMdev] [RFC] Add warning capabilities in LLVM.
...e best thing to use here). > > ** Summary ** > I am starting to think that we should be able to cover the reporting case > plus some querying mechanism with something like: > void reportSomehtingToFEHandler(enum Reporting Kind, bool IsAbort, <some > information>, const char* DefautMsg, <pointer to a list of args to format in > the defautMsg>) Personally I dislike losing type safety in this kind of API ("here's a blob of data you must programmatically query based on a schema implied by the 'Kind' parameter & some documentation you read"). I'...
2013 Jul 22
5
[LLVMdev] [RFC] Add warning capabilities in LLVM.
On Mon, Jul 22, 2013 at 2:21 PM, Eric Christopher <echristo at gmail.com>wrote: > >> This is pretty much the same as what Quentin proposed (with the > addition of the enum), isn't it? > >> > > > > Pretty close yeah. > > > > Another thought and alternate strategy for dealing with these sorts of > things: > > A much more broad set of
2013 Jul 23
0
[LLVMdev] [RFC] Add warning capabilities in LLVM.
.... >> >> ** Summary ** >> I am starting to think that we should be able to cover the reporting case >> plus some querying mechanism with something like: >> void reportSomehtingToFEHandler(enum Reporting Kind, bool IsAbort, <some >> information>, const char* DefautMsg, <pointer to a list of args to format in >> the defautMsg>) > > Personally I dislike losing type safety in this kind of API ("here's a > blob of data you must programmatically query based on a schema implied > by the 'Kind' parameter & some documentatio...