preprocessor #21
Labels
No labels
IncrementalParsing
Kind
Bug
Kind
Documentation
Kind
Enhancement
Kind
Feature
Kind
OtherCompilersCompliance
Kind
StandardCompliance
Performance
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Scope/Lexer
Scope/Parser
Scope/PreProcessor
Scope/PublicApi
Scope/Sema
Status
Abandoned
Status
Blocked
Status
Need More Info
Testing
UserExperience
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
#17 [tracking] full standard compliant lexer for C>=89
click-project/click
Reference
click-project/click#21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
also introduce "preprocessor AST":
bad example:
the idea is that the preprocessor represents the preprocessor elements in the document at the positions before preprocessing, but is generated after preprocessing, which means that we don't always have enough information to construct the preprocessor AST for the cases that were not chosen
preprocessor ast:
note that includes won't always look that clean.
if you have
a.h:and
b.h:and includde a then b, then the preprocesso ast will look like this:
pre-processorto preprocessor