summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ExprConstant.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2018-11-01 18:37:42 +0000
committerTim Northover <tnorthover@apple.com>2018-11-01 18:37:42 +0000
commiteedc0f0f1a4a4c4f3feb2d2604c58fc8e113ce6b (patch)
tree12a08d048e9b443fb79305eec011e3b9156c4914 /clang/lib/AST/ExprConstant.cpp
parent60cce5c78267cced3ec9bbb24f8e94b88b7710d4 (diff)
downloadbcm5719-llvm-eedc0f0f1a4a4c4f3feb2d2604c58fc8e113ce6b.tar.gz
bcm5719-llvm-eedc0f0f1a4a4c4f3feb2d2604c58fc8e113ce6b.zip
Revert "Reapply Logging: make os_log buffer size an integer constant expression."
Still more dependency hell. llvm-svn: 345871
Diffstat (limited to 'clang/lib/AST/ExprConstant.cpp')
-rw-r--r--clang/lib/AST/ExprConstant.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/clang/lib/AST/ExprConstant.cpp b/clang/lib/AST/ExprConstant.cpp
index a85d5cf9d5f..15efe433bd1 100644
--- a/clang/lib/AST/ExprConstant.cpp
+++ b/clang/lib/AST/ExprConstant.cpp
@@ -39,7 +39,6 @@
#include "clang/AST/ASTLambda.h"
#include "clang/AST/CharUnits.h"
#include "clang/AST/Expr.h"
-#include "clang/AST/OSLog.h"
#include "clang/AST/RecordLayout.h"
#include "clang/AST/StmtVisitor.h"
#include "clang/AST/TypeLoc.h"
@@ -8127,12 +8126,6 @@ bool IntExprEvaluator::VisitBuiltinCallExpr(const CallExpr *E,
llvm_unreachable("unexpected EvalMode");
}
- case Builtin::BI__builtin_os_log_format_buffer_size: {
- analyze_os_log::OSLogBufferLayout Layout;
- analyze_os_log::computeOSLogBufferLayout(Info.Ctx, E, Layout);
- return Success(Layout.size().getQuantity(), E);
- }
-
case Builtin::BI__builtin_bswap16:
case Builtin::BI__builtin_bswap32:
case Builtin::BI__builtin_bswap64: {
OpenPOWER on IntegriCloud