mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 06:02:11 +02:00
Bug 538958 - Meson project built in Container not indexing properly
- add synchronized keyword to the various scanner info collecting methods in ContainerGCCToolChain Change-Id: I476e0c191379621d5ca8ef266c8590a0954ab4a5
This commit is contained in:
parent
9a1aa302a7
commit
55569e158c
1 changed files with 4 additions and 2 deletions
|
@ -182,7 +182,8 @@ public class ContainerGCCToolChain extends PlatformObject
|
|||
}
|
||||
|
||||
@Override
|
||||
public IExtendedScannerInfo getScannerInfo(IBuildConfiguration buildConfig, List<String> commandStrings,
|
||||
synchronized public IExtendedScannerInfo getScannerInfo(
|
||||
IBuildConfiguration buildConfig, List<String> commandStrings,
|
||||
IExtendedScannerInfo baseScannerInfo, IResource resource, URI buildDirectoryURI) {
|
||||
try {
|
||||
Path buildDirectory = Paths.get(buildDirectoryURI);
|
||||
|
@ -301,7 +302,8 @@ public class ContainerGCCToolChain extends PlatformObject
|
|||
}
|
||||
|
||||
@Override
|
||||
public IExtendedScannerInfo getDefaultScannerInfo(IBuildConfiguration buildConfig,
|
||||
synchronized public IExtendedScannerInfo getDefaultScannerInfo(
|
||||
IBuildConfiguration buildConfig,
|
||||
IExtendedScannerInfo baseScannerInfo, ILanguage language, URI buildDirectoryURI) {
|
||||
try {
|
||||
String[] commands = getCompileCommands(language);
|
||||
|
|
Loading…
Add table
Reference in a new issue