WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
89942
Add style check to protect against bad #ifdef usage
https://bugs.webkit.org/show_bug.cgi?id=89942
Summary
Add style check to protect against bad #ifdef usage
Shawn Singh
Reported
2012-06-25 22:17:40 PDT
For example,
https://bugs.webkit.org/show_bug.cgi?id=89931
- #ifdef and #if have different behavior if a preprocessor symbol is defined, but its value is "false". To protect against this, one option is to create a style check that complains if someone uses #ifdef with a preprocessor symbol that actually has a value. What other options should we consider for making a style check about this?
Attachments
Add attachment
proposed patch, testcase, etc.
Shawn Singh
Comment 1
2013-04-08 15:58:14 PDT
bug is obsolete
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug