summaryrefslogtreecommitdiff
path: root/clang/lib/AST
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2018-09-09 05:22:49 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2018-09-09 05:22:49 +0000
commitffd6ef2bdca797978c32ac696dccda5e018c217f (patch)
tree94318d43d839b37953b3fc769b198824d617877a /clang/lib/AST
parent28e3abbd1a44d7c923ce47fd70ec21c13d676f5e (diff)
Revert r341754.
The commit broke a couple of bots: http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/12347 http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap/builds/7310
Diffstat (limited to 'clang/lib/AST')
-rw-r--r--clang/lib/AST/Decl.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/lib/AST/Decl.cpp b/clang/lib/AST/Decl.cpp
index 5a64c67f9b8..272e49a7997 100644
--- a/clang/lib/AST/Decl.cpp
+++ b/clang/lib/AST/Decl.cpp
@@ -2361,14 +2361,6 @@ static DeclT *getDefinitionOrSelf(DeclT *D) {
return D;
}
-bool VarDecl::isEscapingByref() const {
- return hasAttr<BlocksAttr>() && NonParmVarDeclBits.EscapingByref;
-}
-
-bool VarDecl::isNonEscapingByref() const {
- return hasAttr<BlocksAttr>() && !NonParmVarDeclBits.EscapingByref;
-}
-
VarDecl *VarDecl::getTemplateInstantiationPattern() const {
// If it's a variable template specialization, find the template or partial
// specialization from which it was instantiated.