aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Sema/TypeLocBuilder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Sema/TypeLocBuilder.cpp')
-rw-r--r--lib/Sema/TypeLocBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/TypeLocBuilder.cpp b/lib/Sema/TypeLocBuilder.cpp
index b451403544ed..2dcbbd83c691 100644
--- a/lib/Sema/TypeLocBuilder.cpp
+++ b/lib/Sema/TypeLocBuilder.cpp
@@ -51,7 +51,7 @@ void TypeLocBuilder::grow(size_t NewCapacity) {
&Buffer[Index],
Capacity - Index);
- if (Buffer != InlineBuffer.buffer)
+ if (Buffer != InlineBuffer)
delete[] Buffer;
Buffer = NewBuffer;