]> granicus.if.org Git - clang/commit
Use Builtin ID as the return value
authorAnna Zaks <ganna@apple.com>
Tue, 17 Jan 2012 00:37:07 +0000 (00:37 +0000)
committerAnna Zaks <ganna@apple.com>
Tue, 17 Jan 2012 00:37:07 +0000 (00:37 +0000)
commit0a151a137a68bb656acbcce7ff2407613bb80cfc
tree129f7d790b7cec9541c6d152fd876f451dd2c131
parent022b3f4490bbdcde7b3f18ce0498f9a73b6cbf53
Use Builtin ID as the return value
for FunctionDecl::getMemoryFunctionKind().

This is a follow up on the Chris's review for r148142: We don't want to
pollute FunctionDecl with an extra enum. (To make this work, added
memcmp and family to the library builtins.)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148267 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Decl.h
include/clang/Basic/Builtins.def
include/clang/Sema/Sema.h
lib/AST/Decl.cpp
lib/Sema/SemaChecking.cpp