llvm-project/llvm/lib/TableGen
Roman Rusyaev 394a388d14 [TableGen] Add a location for a class definition that was forward-declared
This change improves ctags generation for tablegen files.

For the following example
```
class A;

class A {
  int a;
}
```
Previously, tags were generated only for a forward declaration of class 'A'.

This patch allows generating tags for the forward declarations
and further definition of class 'A'.

Reviewed By: barannikov88

Original patch by: rusyaev-roman (Roman Rusyaev)
Some adjustments by: nhaehnle (Nicolai Hähnle)

Differential Revision: https://reviews.llvm.org/D129935
2022-07-20 15:56:17 +02:00
..
CMakeLists.txt [TableGen] Add a library-based entry point for parsing td files 2022-03-03 16:14:03 -08:00
DetailedRecordsBackend.cpp Cleanup include dependencies for LLVMTableGen 2022-01-28 11:50:49 +01:00
Error.cpp [TableGen] Remove the use of global Record state 2022-05-11 11:55:33 -07:00
JSONBackend.cpp Cleanup include dependencies for LLVMTableGen 2022-01-28 11:50:49 +01:00
Main.cpp Cleanup include dependencies for LLVMTableGen 2022-01-28 11:50:49 +01:00
Parser.cpp [TableGen] Refactor TableGenParseFile to no longer use a callback 2022-05-11 11:55:33 -07:00
Record.cpp [TableGen] Add a location for a class definition that was forward-declared 2022-07-20 15:56:17 +02:00
SetTheory.cpp Cleanup include dependencies for LLVMTableGen 2022-01-28 11:50:49 +01:00
StringMatcher.cpp [llvm] Use range-based for loops (NFC) 2021-12-11 11:29:12 -08:00
TGLexer.cpp [TableGen] Add new operator !exists 2022-06-23 11:11:47 +08:00
TGLexer.h [TableGen] Add new operator !exists 2022-06-23 11:11:47 +08:00
TGParser.cpp [TableGen] Add a location for a class definition that was forward-declared 2022-07-20 15:56:17 +02:00
TGParser.h [llvm] Use = default (NFC) 2022-02-06 22:18:35 -08:00
TableGenBackend.cpp
TableGenBackendSkeleton.cpp Cleanup includes for LLVMTableGenGlobalISel 2022-01-28 11:50:50 +01:00