Bug 549299 - [MSVC] Support for leading and trailing space in includes
Summary: [MSVC] Support for leading and trailing space in includes
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-parser (show other bugs)
Version: Next   Edit
Hardware: PC Windows All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-16 00:31 EDT by Marc-André Laperle CLA
Modified: 2020-09-04 15:19 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc-André Laperle CLA 2019-07-16 00:31:21 EDT
MSVC allows leading and trailing space in <angle bracket> include directives and trailing space in "quotes" includes.

Examples:

#include <   iostream    >
works with CL but not CDT.

#include "   test.h   "
doesn't work in either so that's OK.

#include "test.h   "
works with CL but not CDT.