Skip to content

Some NestedNameSpecifierLocs have invalid source locations #25116

Closed
@llvmbot

Description

@llvmbot
Bugzilla Link 24742
Version trunk
OS Linux
Reporter LLVM Bugzilla Contributor
CC @DougGregor

Extended Description

A coworker suggested this to be the cause: https://github.com/llvm-mirror/clang/blob/298fde465765d930b8bcd588c613343a1c7805b3/lib/Sema/TreeTransform.h#L3260

I'm trying to write a little refactoring tool to replace foo with ::foo for a few error-prone cases (e.g. "utils"), but this got in my way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillac++clang: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