aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen/CMakeLists.txt
diff options
context:
space:
mode:
authorSean Silva <silvas@purdue.edu>2013-03-21 23:40:38 +0000
committerSean Silva <silvas@purdue.edu>2013-03-21 23:40:38 +0000
commit426db657da8753921f21c676b91c527e1b77878c (patch)
tree0654858c8a490fad7271234abcf4b44962de736b /utils/TableGen/CMakeLists.txt
parentd9ff8c83d137586d8c06f98bdf8adbf0d1fa79ca (diff)
downloadexternal_llvm-426db657da8753921f21c676b91c527e1b77878c.zip
external_llvm-426db657da8753921f21c676b91c527e1b77878c.tar.gz
external_llvm-426db657da8753921f21c676b91c527e1b77878c.tar.bz2
Add TableGen ctags(1) emitter and helper script.
To use this in conjunction with exuberant ctags to generate a single combined tags file, run tblgen first and then $ ctags --append [...] Since some identifiers have corresponding definitions in C++ code, it can be useful (if using vim) to also use cscope, and :set cscopetagorder=1 so that :tag X will preferentially select the tablegen symbol, while :cscope find g X will always find the C++ symbol. Patch by Kevin Schoedel! (a couple small formatting changes courtesy of clang-format) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177682 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CMakeLists.txt')
-rw-r--r--utils/TableGen/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/CMakeLists.txt b/utils/TableGen/CMakeLists.txt
index d0f44be..3ee1974 100644
--- a/utils/TableGen/CMakeLists.txt
+++ b/utils/TableGen/CMakeLists.txt
@@ -33,4 +33,5 @@ add_tablegen(llvm-tblgen LLVM
X86DisassemblerTables.cpp
X86ModRMFilters.cpp
X86RecognizableInstr.cpp
+ CTagsEmitter.cpp
)