[PATCH] D45383: Limit types of builtins that can be redeclared.
Erich Keane via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 16 13:17:01 PDT 2018
erichkeane updated this revision to Diff 142685.
erichkeane added a comment.
Added the exception for MSVC's __va_start. __va_start is a normal function on Linux, so it isn't an error on non-windows either.
https://reviews.llvm.org/D45383
Files:
include/clang/AST/ASTContext.h
include/clang/Basic/Builtins.h
include/clang/Basic/DiagnosticSemaKinds.td
lib/AST/ASTContext.cpp
lib/Basic/Builtins.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaOverload.cpp
test/Sema/MicrosoftExtensions.c
test/Sema/builtin-redecl.cpp
test/SemaCXX/microsoft-varargs.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45383.142685.patch
Type: text/x-patch
Size: 6454 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180416/7bdfff44/attachment.bin>
More information about the cfe-commits
mailing list