http://llvm.org/bugs/show_bug.cgi?id=21985

Reid Kleckner <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |WORKSFORME

--- Comment #1 from Reid Kleckner <[email protected]> ---
It's under -Wdeprecated-register, and it's on by default:

$ cat t.cpp
void use(int);
int main() {
  register int a = 42;
  use(a);
}

$ clang -c t.cpp
t.cpp:3:3: warning: 'register' storage class specifier is deprecated
[-Wdeprecated-register]
  register int a = 42;
  ^~~~~~~~~
1 warning generated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to