- 
                Notifications
    
You must be signed in to change notification settings  - Fork 15.1k
 
Open
Labels
clang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"enhancementImproving things as opposed to bug fixing, e.g. new or missing featureImproving things as opposed to bug fixing, e.g. new or missing feature
Description
From a discussion on Discord: it would be beneficial for debugging if a standalone Expr's dump() would also print where that expression can be found in a source file. Or at least some way of getting this information in an easy way would be beneficail. Even if that way is only accessible in debug builds.
Using dump() on an expression in LLDB looks like this today;
But from this information it is very hard to figure out where this expression can be found in the source file.
This is useful for writing tests where clang needs to process the expression in source form.
Metadata
Metadata
Assignees
Labels
clang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"enhancementImproving things as opposed to bug fixing, e.g. new or missing featureImproving things as opposed to bug fixing, e.g. new or missing feature
