Project

General

Profile

Feature #3265

enhance pphints to have references, expansions and details in and about directives

Added by Greg Shah about 7 years ago. Updated about 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
version:

History

#1 Updated by Greg Shah about 7 years ago

The pphints mechanism was deliberately implemented to only contain information regarding code that exists in the fully preprocessed output.

The unfortunate result of that choice is that we lose a great deal of information about:

  • how preproc directives executed and the choices that the preprocessor made (e.g. conditionals)
  • expansions (references and includes) that occurred inside preprocessor directives
  • expansions (references) that occurred inside an include reference
  • scoped and global defines at each level of the processing

Providing these details would make it much easier to debug. It also would allow for interesting analyses to be calculated (e.g. all locations where a SCOPED-DEFINE is referenced).

Also available in: Atom PDF