llvmorg-github-actions[bot] wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Timm Baeder (tbaederr)

<details>
<summary>Changes</summary>

For pure expressions, we usually have few locals and few scopes. Reduce the 
inline size here.

---
Full diff: https://github.com/llvm/llvm-project/pull/219773.diff


1 Files Affected:

- (modified) clang/lib/AST/ByteCode/EvalEmitter.h (+1-1) 


``````````diff
diff --git a/clang/lib/AST/ByteCode/EvalEmitter.h 
b/clang/lib/AST/ByteCode/EvalEmitter.h
index 26bb22a71a3ce..a151329c22aa5 100644
--- a/clang/lib/AST/ByteCode/EvalEmitter.h
+++ b/clang/lib/AST/ByteCode/EvalEmitter.h
@@ -105,7 +105,7 @@ class EvalEmitter : public SourceMapper {
   /// Parameter indices.
   llvm::DenseMap<const ParmVarDecl *, FuncParam> Params;
   /// Local descriptors.
-  llvm::SmallVector<SmallVector<Local, 8>, 2> Descriptors;
+  llvm::SmallVector<SmallVector<Local, 2>, 1> Descriptors;
   std::optional<SourceInfo> LocOverride = std::nullopt;
 
 private:

``````````

</details>


https://github.com/llvm/llvm-project/pull/219773
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to