diff options
author | Alex Lorenz <arphaman@gmail.com> | 2017-07-12 11:34:14 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2017-07-12 11:34:14 +0000 |
commit | 4fabc97c432a43f0c8efc0b307ca9741b016a66c (patch) | |
tree | e7a430483d8f998b172f64e21cdbea56b1512364 /clang/tools/libclang/CIndex.cpp | |
parent | 571b8cfac94bf030c8db74dc24e28301480ecb96 (diff) | |
download | bcm5719-llvm-4fabc97c432a43f0c8efc0b307ca9741b016a66c.tar.gz bcm5719-llvm-4fabc97c432a43f0c8efc0b307ca9741b016a66c.zip |
Revert r307769 (Forgot to mention the name of the contributor).
llvm-svn: 307770
Diffstat (limited to 'clang/tools/libclang/CIndex.cpp')
-rw-r--r-- | clang/tools/libclang/CIndex.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/clang/tools/libclang/CIndex.cpp b/clang/tools/libclang/CIndex.cpp index 236f264c175..2cbca421c78 100644 --- a/clang/tools/libclang/CIndex.cpp +++ b/clang/tools/libclang/CIndex.cpp @@ -7807,15 +7807,6 @@ unsigned clang_CXXMethod_isVirtual(CXCursor C) { return (Method && Method->isVirtual()) ? 1 : 0; } -unsigned clang_EnumDecl_isScoped(CXCursor C) { - if (!clang_isDeclaration(C.kind)) - return 0; - - const Decl *D = cxcursor::getCursorDecl(C); - auto *Enum = dyn_cast_or_null<EnumDecl>(D); - return (Enum && Enum->isScoped()) ? 1 : 0; -} - //===----------------------------------------------------------------------===// // Attribute introspection. //===----------------------------------------------------------------------===// |