Skip to content

raw string literals in C #39238

@llvmbot

Description

@llvmbot
Bugzilla Link 39891
Version trunk
OS Linux
Reporter LLVM Bugzilla Contributor
CC @hfinkel,@zygoloid

Extended Description

GCC supports, as an extension, raw string literals in C

For example, R"(^((.[^[:space:]].)|())$)" is valid in C code (with GCC).

Would it be possible for Clang to also provide this as an extension.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillacclang:frontendLanguage frontend issues, e.g. anything involving "Sema"duplicateResolved as duplicateenhancementImproving things as opposed to bug fixing, e.g. new or missing featureextension:gnu

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions