diff options
author | Tim Northover <tnorthover@apple.com> | 2018-11-01 16:15:24 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2018-11-01 16:15:24 +0000 |
commit | d686dbbc7c24a81a46f61733d48df866f2874e24 (patch) | |
tree | 257b32b0f9d6dce6f66db1cd98998df5f0b04f44 /clang/lib/AST/ExprConstant.cpp | |
parent | 32a34e6d7e97c37c18b2051d37d932c38758b9d0 (diff) | |
download | bcm5719-llvm-d686dbbc7c24a81a46f61733d48df866f2874e24.tar.gz bcm5719-llvm-d686dbbc7c24a81a46f61733d48df866f2874e24.zip |
Revert "Logging: make os_log buffer size an integer constant expression.
This also reverts a couple of follow-up commits trying to fix the
dependency issues. Latest revision added a cyclic dependency that can't
just be patched up in 5 minutes.
llvm-svn: 345846
Diffstat (limited to 'clang/lib/AST/ExprConstant.cpp')
-rw-r--r-- | clang/lib/AST/ExprConstant.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/clang/lib/AST/ExprConstant.cpp b/clang/lib/AST/ExprConstant.cpp index 9fc7b30b669..bf08d6bb657 100644 --- a/clang/lib/AST/ExprConstant.cpp +++ b/clang/lib/AST/ExprConstant.cpp @@ -33,7 +33,6 @@ // //===----------------------------------------------------------------------===// -#include "clang/Analysis/Analyses/OSLog.h" #include "clang/AST/APValue.h" #include "clang/AST/ASTContext.h" #include "clang/AST/ASTDiagnostic.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: { |