Details
Diff Detail
- Build Status
Buildable 41 Build 41: arc lint + arc unit
Event Timeline
LGTM.
clang/include/clang/Basic/DiagnosticSemaKinds.td | ||
---|---|---|
6727 | Nit: Technically they are allowed in namespace scope. |
clang/include/clang/Basic/DiagnosticSemaKinds.td | ||
---|---|---|
6727 | That's still a "global variable"? Or do you think calling it such will be confusing? |
clang/include/clang/Basic/DiagnosticSemaKinds.td | ||
---|---|---|
6727 | It's not clear whether you mean global storage class or global namespace. I'll leave phrasing up to you. |
clang/include/clang/Basic/DiagnosticSemaKinds.td | ||
---|---|---|
6727 |
So there's actually no such thing as "global" storage class. It's *static* storage (so helpful), meaning, a global variable or a static variable inside of a function. But __constant__ symbols must actually be global variables -- nvcc doesn't allow them to appear inside function bodies. I think "global" is the right way to describe what we're going after. Until a Language Lawyer corrects me, anyway. :) |
Nit: Technically they are allowed in namespace scope.