This change fixes a file descriptor leak in
ElfParser.hasInterpProgramHeader(). An Elf object is created without
calling its Elf.dispose(). This results in a created RandomAccessFile
object, without a respective RandomAccessFile.close() call.
Change-Id: I6d2a0911857eb6fcb388b352801c2259ae19171c
Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
When using the cache, only put the string reference in the typename
if over the threshold.
This is essentially a fixup for Bug 519121
Change-Id: I1436a9740bfb8ce46747f9a2ab0649ed366c4d9b
*Implementation of -file-list-exec-source-files MI command.
*Add new Debug Sources view with tree-like structure
Change-Id: I6e734799712c059c8e53aa882777dfebd85aa0d5
Also-by: Jonah Graham <jonah@kichwacoders.com>
Signed-off-by: Baha El Kassaby <baha.elkassaby@gmail.com>
Replace simple uses of Iterator with a corresponding for-loop. Also add
missing braces on loops as necessary.
Change-Id: I7e158278fd2042b527f76b100815cf385b79ea20
Signed-off-by: chammer <carsten.hammer@t-online.de>
An example of a failure that used to be buried in the log is a project
that failed to be created due to different case resource exception.
Change-Id: I89acd7474d499cfe258dfdd840983bef64d38838
An example of a failure that used to be buried in the log is a project
that failed to be created due to different case resource exception.
Change-Id: I513f0dbd36bbb116a5c7de296f7459d200d65af5
This was proposed for standardization in N3599. The proposal was not
accepted, but it's supported by gcc and clang as an extension.
Change-Id: I0c4a6e532f3a9172a8cb26218f0a608a1ca6be7d
Deprecated since CDT 8.0 and not used anywhere.
Change-Id: Ie0dc3e844dfc2edd9ac4e77501372fec7a36c2f2
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
See Bug 551674.
This commit also moves the enforcer plug-in into the correct place
to be activated
The enforcer plug-in needs to be done to allow the check maven versions
to not report erroneous/extra information too (see next commit)
Change-Id: I2da89b0a9ec0fc3dc27f0812fef53104dcaa7fd6
Revert serial.dll as the change does not impact windows
Change-Id: I968a3f40e8222a46d077aa5c6fde0a19740bd0a9
Signed-off-by: akhalid8lf <abdullah.dev0@gmail.com>
The check-code-cleanliness CI jobs have not been running recently,
so this commit is to the code up to those minor changes
Change-Id: I9fb4b0213dec558f58c5ca718b3d2685564ef456
The main LLDB code base doesn't include lldb-mi anymore
and it means Xcode 11 doesn't include it either.
Change-Id: I1c16a2d579c40ced305a225469f91a57041ee606
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
This language settings provider lets you specify the path to the
compile_commands.json and reuses existing build output parsers to figure out all
the language entries for each file to be used while indexing. With this, there
is no need to do a full build and in fact no need to have a working build
configured in CDT for indexing to work and be fully configured. This is
especially useful for non-CMake build systems that have no existing integration
in CDT but indexing would still works with little effort. The build output
parser (GCC, MSVC, etc) is selectable as part of the configuration of the CDB
provider. There is also an option to exclude any file that is not present in
the CDB. This option is useful for large projects in order to speed up indexing
but also to increase index accuracy (conflicting symbol names, etc).
Change-Id: If21455ec529f9e162cdf3e5aff7a1bca83e362f6
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>