Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-fms-compatibility: out-of-line definition of static data member not handled correctly #21538

Closed
majnemer mannequin opened this issue Oct 6, 2014 · 3 comments
Closed
Labels
bugzilla Issues migrated from bugzilla clang:codegen

Comments

@majnemer
Copy link
Mannequin

majnemer mannequin commented Oct 6, 2014

Bugzilla Link 21164
Resolution FIXED
Resolved on May 20, 2015 07:32
Version unspecified
OS All
Blocks #12849
CC @zmodem

Extended Description

consider:
struct C {
static const int I = 5;
};

const int C::I;

We do not emit a definition of C::I even though both the standard and cl.exe both do.

@majnemer
Copy link
Mannequin Author

majnemer mannequin commented Oct 6, 2014

I believe that this is a regression caused by r213304.

@llvmbot
Copy link
Collaborator

llvmbot commented May 15, 2015

I've got an initial patch for this issue.
Will review and commit in a couple of days.

Alexey Frolov

Software Engineer
Intel Compiler Team
Intel

@llvmbot
Copy link
Collaborator

llvmbot commented May 20, 2015

Fixed in r237787.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 9, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla clang:codegen
Projects
None yet
Development

No branches or pull requests

1 participant