Skip to content

Commit

Permalink
add clang 16b support
Browse files Browse the repository at this point in the history
  • Loading branch information
Владимир Чиж authored and Владимир Чиж committed Mar 1, 2024
1 parent bbb31d1 commit 5732b47
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,13 @@ jobs:
- name: Install clang
run: |
brew install llvm@16
cd /opt/homebrew/Cellar/llvm@16/16.0.6
ls
echo 'export PATH="/opt/homebrew/Cellar/llvm@16/16.0.6/bin:$PATH"' >> ~/.zshrc
echo 'export CC="-L/opt/homebrew/Cellar/llvm@16/16.0.6/bin/clang"' >> ~/.zshrc
echo 'export CXX="-I/opt/homebrew/Cellar/llvm@16/16.0.6/bin/clang++"' >> ~/.zshrc
echo 'export LDFLAGS="-L/opt/homebrew/Cellar/llvm@16/16.0.6/lib"' >> ~/.zshrc
echo 'export CPPFLAGS="-I/opt/homebrew/Cellar/llvm@16/16.0.6/include"' >> ~/.zshrc
echo 'alias clang="/opt/homebrew/Cellar/llvm@16/16.0.6/bin/clang"' >> ~/.zshrc
source ~/.zshrc
brew link --overwrite llvm@16
Expand Down
2 changes: 1 addition & 1 deletion srcbpatch/actionscollection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ void ActionsCollection::OnJsonObjectParsed(TJSONObject* const pJson)

// create binary lexeme from readed data
if (const bool added = dictionary_.AddBinaryLexeme(pJson->name_,
AbstractBinaryLexeme::LexemeFromVector(move(adata)));
AbstractBinaryLexeme::LexemeFromVector(std::move(adata)));
!added)
{// overwritten
ReportDuplicateNameError(pJson->name_);
Expand Down
2 changes: 1 addition & 1 deletion srcbpatch/processing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ unique_ptr<ActionsCollection> CreateActionsFile(string_view actionsFileName)

// Parsing of todo and lexemes
// Dictionary will be inside
return unique_ptr<ActionsCollection>(new ActionsCollection(move(adata)));
return unique_ptr<ActionsCollection>(new ActionsCollection(std::move(adata)));
}


Expand Down

0 comments on commit 5732b47

Please sign in to comment.