From: Michael J. Spencer Date: Sat, 9 Oct 2010 07:11:04 +0000 (+0000) Subject: Add Kate syntax highlighting files. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=9a89b0115f39137ad0d2300120c3b7c9a771a0d5;p=oota-llvm.git Add Kate syntax highlighting files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116146 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/kate/README b/utils/kate/README new file mode 100644 index 00000000000..efe53b7e237 --- /dev/null +++ b/utils/kate/README @@ -0,0 +1,12 @@ +-*- llvm/utils/kate/README -*- + +These are syntax highlighting files for the Kate editor. Included are: + +* llvm.xml + + Syntax Highlighting Mode for the KDE Kate editor. To install just copy + this file to ~/.kde/share/apps/katepart/syntax (or better yet, symlink it). + +Note: If you notice missing or incorrect syntax highlighting, please contact +; if you wish to provide a patch to improve the +functionality, it will be most appreciated. Thank you. diff --git a/utils/kate/llvm.xml b/utils/kate/llvm.xml new file mode 100644 index 00000000000..e6243b07689 --- /dev/null +++ b/utils/kate/llvm.xml @@ -0,0 +1,255 @@ + + + + + + begin + end + true + false + declare + define + global + constant + gc + module asm + asm + target + datalayout + null + undef + blockaddress + sideeffect + alignstack + to + unwind + nuw + nsw + inbounds + tail + triple + type + align + alias + + + private + linker_private + linker_private_weak + linker_private_weak_def_auto + internal + available_externally + linkonce + weak + common + appending + extern_weak + linkonce_odr + weak_odr + dllimport + dllexport + + + ccc + fastcc + coldcc + cc + + + default + hidden + protected + + + zeroext + signext + inreg + byval + sret + noalias + nocapture + nest + + + alignstack + alwaysinline + inlinehint + naked + noimplicitfloat + noinline + noredzone + noreturn + nounwind + optsize + readnone + readonly + ssp + sspreq + + + float + double + fp128 + x86_fp80 + ppc_fp128 + x86mmx + void + label + metadata + opaque + + + llvm.used + llvm.compiler.used + llvm.global_ctors + llvm.global_dtors + + + ret + br + switch + indirectbr + invoke + unwind + unreachable + add + fadd + sub + fsub + mul + fmul + udiv + sdiv + fdiv + urem + srem + frem + shl + lshr + ashr + and + or + xor + extractelement + insertelement + shufflevector + extractvalue + insertvalue + alloca + load + store + getelementptr + trunc + zext + sext + fptrunc + fpext + fptoui + fptosi + uitofp + sitofp + ptrtoint + inttoptr + bitcast + icmp + fcmp + phi + select + call + va_arg + + + eq + ne + ugt + uge + ult + ule + sgt + sge + slt + sle + oeq + ogt + oge + olt + ole + one + ord + ueq + une + uno + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +