Skip to content

PP output loses line count with -C #3113

Closed
@llvmbot

Description

@llvmbot
Bugzilla Link 2741
Resolution FIXED
Resolved on Mar 12, 2010 00:57
Version unspecified
OS NetBSD
Blocks llvm/llvm-bugzilla-archive#4068
Reporter LLVM Bugzilla Contributor
CC @edwintorok

Extended Description

For example, preprocessing the following with -C puts y on the wrong line.

/* a
boring
comment */
y

Although a problem with -C, the issue is more generic, for example if the raw string literals patch is accepted it would have the same bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclang:frontendLanguage frontend issues, e.g. anything involving "Sema"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions