[llvm] 05c02ed - emacs: Add nofree and willreturn to list of attributes
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 18 06:48:42 PDT 2020
Author: Matt Arsenault
Date: 2020-09-18T09:48:33-04:00
New Revision: 05c02eda4552076dc08ce34866b3d8ee33bbf842
URL: https://github.com/llvm/llvm-project/commit/05c02eda4552076dc08ce34866b3d8ee33bbf842
DIFF: https://github.com/llvm/llvm-project/commit/05c02eda4552076dc08ce34866b3d8ee33bbf842.diff
LOG: emacs: Add nofree and willreturn to list of attributes
Added:
Modified:
llvm/utils/emacs/llvm-mode.el
Removed:
################################################################################
diff --git a/llvm/utils/emacs/llvm-mode.el b/llvm/utils/emacs/llvm-mode.el
index d0801a323b50..6852899e2a35 100644
--- a/llvm/utils/emacs/llvm-mode.el
+++ b/llvm/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
More information about the llvm-commits
mailing list