From 15d1f58f1b8707d1e99e0420df0053e3a1220642 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 18 Sep 2020 09:28:57 -0400 Subject: [PATCH] emacs: Add nofree and willreturn to list of attributes --- utils/emacs/llvm-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/emacs/llvm-mode.el b/utils/emacs/llvm-mode.el index d0801a323b5..6852899e2a3 100644 --- a/utils/emacs/llvm-mode.el +++ b/utils/emacs/llvm-mode.el @@ -24,10 +24,10 @@ `(,(regexp-opt '("alwaysinline" "argmemonly" "builtin" "cold" "convergent" "inaccessiblememonly" "inaccessiblemem_or_argmemonly" "inlinehint" "jumptable" "minsize" "naked" "nobuiltin" - "noduplicate" "noimplicitfloat" "noinline" "nonlazybind" "noredzone" "noreturn" + "noduplicate" "nofree" "noimplicitfloat" "noinline" "nonlazybind" "noredzone" "noreturn" "norecurse" "noundef" "nounwind" "optnone" "optsize" "readnone" "readonly" "returns_twice" "speculatable" "ssp" "sspreq" "sspstrong" "safestack" "sanitize_address" "sanitize_hwaddress" "sanitize_memtag" - "sanitize_thread" "sanitize_memory" "strictfp" "uwtable" "writeonly" "immarg") 'symbols) . font-lock-constant-face) + "sanitize_thread" "sanitize_memory" "strictfp" "uwtable" "willreturn" "writeonly" "immarg") 'symbols) . font-lock-constant-face) ;; Variables '("%[-a-zA-Z$._][-a-zA-Z$._0-9]*" . font-lock-variable-name-face) ;; Labels